diff options
author | Dario Lombardo <lomato@gmail.com> | 2019-11-12 12:01:24 +0100 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-11-12 19:17:46 +0000 |
commit | 6615d8dfff5a80706f24ee390518818058fe2202 (patch) | |
tree | dbd1b03d295ac9814c69b7417aeae44197870760 /wsutil | |
parent | 7a1a45c5234e64286452863088bb9552922b2b3c (diff) |
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 <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/socket.h | 4 |
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 |