diff options
-rw-r--r-- | extcap/androiddump.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extcap/androiddump.c b/extcap/androiddump.c index 17e6346e62..4922853e58 100644 --- a/extcap/androiddump.c +++ b/extcap/androiddump.c @@ -44,6 +44,10 @@ #include <sys/socket.h> #endif +#ifdef HAVE_ARPA_INET_H + #include <arpa/inet.h> +#endif + #ifndef HAVE_GETOPT_LONG #include "wsutil/wsgetopt.h" #endif @@ -62,8 +66,6 @@ /* * UN*X, or Windows pretending to be UN*X with the aid of Cygwin. */ - #include <arpa/inet.h> - #define closesocket(socket) close(socket) #endif |