--- libev/event.c 2007/11/04 15:58:50 1.10 +++ libev/event.c 2007/11/04 16:52:52 1.11 @@ -34,7 +34,9 @@ #include #include -#include "event.h" +#ifndef EV_EMBED +# include "event.h" +#endif #if EV_MULTIPLICITY # define dLOOPev struct ev_loop *loop = (struct ev_loop *)ev->ev_base @@ -110,7 +112,7 @@ return event_base_dispatch (x_cur); } -#ifdef EV_STANDALONE +#ifdef EV_EMBED void event_set_log_callback (event_log_cb cb) { /* nop */