diff options
author | root <root> | 2007-11-09 17:07:59 +0000 |
---|---|---|
committer | root <root> | 2007-11-09 17:07:59 +0000 |
commit | 54ae3adf55df78d268cd7f1633f5e7d44f687db2 (patch) | |
tree | bb46427a6af251878b39736d341f51cafdfed02c /ev.c | |
parent | e73e5ae567e0e8053897ff051ba7bb514cf9007d (diff) |
move event_base predeclaration higher in the file
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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)) |