aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ch.h')
-rw-r--r--src/include/ch.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/include/ch.h b/src/include/ch.h
index 80204bb2d..aa77df544 100644
--- a/src/include/ch.h
+++ b/src/include/ch.h
@@ -25,8 +25,6 @@
#ifndef _CH_H_
#define _CH_H_
-typedef struct Thread Thread;
-
#ifndef __DOXIGEN__
#ifndef _CHCONF_H_
#include <chconf.h>
@@ -41,14 +39,22 @@ typedef struct Thread Thread;
#endif
#endif /* __DOXIGEN__ */
-#ifndef _DELTA_H_
+#ifndef _LISTS_H_
#include "delta.h"
#endif
+#ifndef _LISTS_H_
+#include "lists.h"
+#endif
+
#ifndef _SCHEDULER_H_
#include "scheduler.h"
#endif
+#ifndef _SEMAPHORES_H_
+#include "semaphores.h"
+#endif
+
#ifndef _EVENTS_H_
#include "events.h"
#endif
@@ -65,10 +71,6 @@ typedef struct Thread Thread;
#include "sleep.h"
#endif
-#ifndef _SEMAPHORES_H_
-#include "semaphores.h"
-#endif
-
#ifndef _QUEUES_H_
#include "queues.h"
#endif