diff --git a/test/test-fdleak.c b/test/test-fdleak.c index 030a3f52..4f76f7ff 100644 --- a/test/test-fdleak.c +++ b/test/test-fdleak.c @@ -39,6 +39,9 @@ #ifdef EVENT__HAVE_SYS_RESOURCE_H #include #endif +#ifdef EVENT__HAVE_NETINET_IN_H +#include +#endif #include "event2/event.h" #include "event2/bufferevent.h"