summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorroot <root>2007-11-09 17:07:59 +0000
committerroot <root>2007-11-09 17:07:59 +0000
commit54ae3adf55df78d268cd7f1633f5e7d44f687db2 (patch)
treebb46427a6af251878b39736d341f51cafdfed02c /event.c
parente73e5ae567e0e8053897ff051ba7bb514cf9007d (diff)
move event_base predeclaration higher in the file
Diffstat (limited to 'event.c')
-rw-r--r--event.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/event.c b/event.c
index 5ed8bc5..992425e 100644
--- a/event.c
+++ b/event.c
@@ -37,8 +37,11 @@
# include <sys/time.h>
#endif
-#include "ev.h"
-#include "event.h"
+#ifdef EV_EVENT_H
+# include EV_EVENT_H
+#else
+# include "event.h"
+#endif
#if EV_MULTIPLICITY
# define dLOOPev struct ev_loop *loop = (struct ev_loop *)ev->ev_base