From 6615d8dfff5a80706f24ee390518818058fe2202 Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Tue, 12 Nov 2019 12:01:24 +0100 Subject: [PATCH] wsutil: add netinet/in.h to socket.h. Fix compilation under FreeBSD x86. Change-Id: Ifad9b21eb299e07e5a91424705e70b18e394eafc Reviewed-on: https://code.wireshark.org/review/35061 Petri-Dish: Dario Lombardo Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris --- wsutil/socket.h | 4 ++++ 1 file changed, 4 insertions(+) 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 #endif +#ifdef HAVE_NETINET_IN_H + #include +#endif + #ifdef __cplusplus extern "C" { #endif