]> granicus.if.org Git - libevent/commitdiff
Add netinet/in.h include to fix test-fdleak on openbsd
authorNick Mathewson <nickm@torproject.org>
Thu, 1 Mar 2012 00:36:17 +0000 (19:36 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 1 Mar 2012 00:36:17 +0000 (19:36 -0500)
test/test-fdleak.c

index 030a3f52934941ab6ef9b5e1489b0c2a25da6b7d..4f76f7ff4be15cf0a282802bb040e9d827a3b75e 100644 (file)
@@ -39,6 +39,9 @@
 #ifdef EVENT__HAVE_SYS_RESOURCE_H
 #include <sys/resource.h>
 #endif
+#ifdef EVENT__HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
 
 #include "event2/event.h"
 #include "event2/bufferevent.h"