From 13f5552336f3b38f8bf9c7c33f28e785946565f5 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Sun, 14 May 2023 22:29:12 +0200 Subject: test: add missing include of arpa/inet.h for ntohs in regress_ws.c This will fix one warning in FreeBSD --- test/regress_ws.c | 3 +++ 1 file changed, 3 insertions(+) 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 #endif #include +#ifdef EVENT__HAVE_ARPA_INET_H +#include +#endif #include "event2/event.h" #include "event2/http.h" -- cgit v1.2.1