Permalink
Browse files

Add netinet/in.h include to fix test-fdleak on openbsd

  • Loading branch information...
1 parent 0d1611d commit 133956bac3bb9b39d3d64145243813a48218ef63 Nick Mathewson committed Mar 1, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 test/test-fdleak.c
View
@@ -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"

0 comments on commit 133956b

Please sign in to comment.