aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wsutil/socket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wsutil/socket.h b/wsutil/socket.h
index 99fd07d085..8d89b24267 100644
--- a/wsutil/socket.h
+++ b/wsutil/socket.h
@@ -48,6 +48,10 @@
#include <arpa/inet.h>
#endif
+#ifdef HAVE_NETINET_IN_H
+ #include <netinet/in.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif