ev_q option VCORE_MUST_RUN (XCC)
[akaros.git] / kern / include / ros / ucq.h
index 11e9fd5..d855e8a 100644 (file)
@@ -19,9 +19,9 @@
 #define ROS_INC_UCQ_H
 
 #include <ros/common.h>
-#include <ros/event.h>
 #include <ros/atomic.h>
 #include <ros/arch/mmu.h>
+/* #include <ros/event.h> included below */
 
 /* The main UCQ structure, contains indexes and start points (for the indexes),
  * etc. */
@@ -43,6 +43,9 @@ struct ucq_page_header {
        atomic_t                                        nr_cons;                /* like an inverted refcnt */
 };
 
+/* Including here since event.h needs to know about struct ucq */
+#include <ros/event.h>
+
 struct msg_container {
        struct event_msg                        ev_msg;
        bool                                            ready;                  /* kernel has written */