Index: contrib/libpcap/pcap/pcap.h =================================================================== --- contrib/libpcap/pcap/pcap.h +++ contrib/libpcap/pcap/pcap.h @@ -524,10 +524,10 @@ #endif /* _WIN32/MSDOS/UN*X */ -#ifdef HAVE_REMOTE +#if defined(_WIN32) && defined(HAVE_REMOTE) /* Includes most of the public stuff that is needed for the remote capture */ #include -#endif /* HAVE_REMOTE */ +#endif /* _WIN32 && HAVE_REMOTE */ #ifdef __cplusplus }