From b07d5c73b6e39d0ffc435e4f6c5372ac3d29cc6e Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 22 May 2016 19:07:34 -0700 Subject: Explicitly include . We use structures from it, and must not depend on or to include it for us, as that doesn't necessarily happen on all platforms (it doesn't happen on DragonFly BSD, for example). Change-Id: Id0e6cc406b774efb076bb8e04827fdb7d502be16 Reviewed-on: https://code.wireshark.org/review/15541 Reviewed-by: Guy Harris --- wsutil/interface.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wsutil/interface.c') diff --git a/wsutil/interface.c b/wsutil/interface.c index 0e0b7c4056..9a6cca74ba 100644 --- a/wsutil/interface.c +++ b/wsutil/interface.c @@ -37,6 +37,10 @@ #include #endif +#ifdef HAVE_NETINET_IN_H + #include +#endif + GSList *local_interfaces_to_list(void) { GSList *interfaces = NULL; -- cgit v1.2.1