summaryrefslogtreecommitdiff
path: root/test/regress_ws.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress_ws.c')
-rw-r--r--test/regress_ws.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/regress_ws.c b/test/regress_ws.c
index 436cb627..c0538940 100644
--- a/test/regress_ws.c
+++ b/test/regress_ws.c
@@ -48,6 +48,9 @@
#include <netdb.h>
#endif
#include <string.h>
+#ifdef EVENT__HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
#include "event2/event.h"
#include "event2/http.h"