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 /event.c | |
parent | e73e5ae567e0e8053897ff051ba7bb514cf9007d (diff) |
move event_base predeclaration higher in the file
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |