summaryrefslogtreecommitdiff
path: root/ev.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 /ev.c
parente73e5ae567e0e8053897ff051ba7bb514cf9007d (diff)
move event_base predeclaration higher in the file
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 8fd359e..20ad7e4 100644
--- a/ev.c
+++ b/ev.c
@@ -128,7 +128,11 @@
#define PID_HASHSIZE 16 /* size of pid hash table, must be power of two */
/*#define CLEANUP_INTERVAL 300. /* how often to try to free memory and re-check fds */
-#include "ev.h"
+#ifdef EV_H
+# include EV_H
+#else
+# include "ev.h"
+#endif
#if __GNUC__ >= 3
# define expect(expr,value) __builtin_expect ((expr),(value))