From 133956bac3bb9b39d3d64145243813a48218ef63 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 29 Feb 2012 19:36:17 -0500 Subject: [PATCH] Add netinet/in.h include to fix test-fdleak on openbsd --- test/test-fdleak.c | 3 +++ 1 file changed, 3 insertions(+) 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"