--- libev/ev.c 2008/04/06 09:53:17 1.220 +++ libev/ev.c 2008/04/06 12:44:49 1.221 @@ -270,6 +270,7 @@ #if EV_USE_EVENTFD /* our minimum requirement is glibc 2.7 which has the stub, but not the header */ +# include int eventfd (unsigned int initval, int flags); #endif