wsutil: fix compilation on freebsd.
authorDario Lombardo <lomato@gmail.com>
Fri, 25 May 2018 17:50:35 +0000 (19:50 +0200)
committerGuy Harris <guy@alum.mit.edu>
Mon, 28 May 2018 21:40:18 +0000 (21:40 +0000)
Change-Id: Iadb3f3daa1095ac9cc971f79ba4d288e8d835a44
Reviewed-on: https://code.wireshark.org/review/27864
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
wsutil/inet_addr.c

index e133b578346b863a7f30bc9f70da4862e85f23ee..5a88b33b2cc4ce70932c564b44ed3e5efbb243c9 100644 (file)
 #include <arpa/inet.h>
 #endif
 
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
 #include <sys/types.h>
 
 #ifdef HAVE_SYS_SOCKET_H