summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
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