From: gianluca Date: Tue, 13 Nov 2007 21:55:51 +0000 (+0000) Subject: Under MingW/cygwin, we need to use ddk/ndis.h instead of ntddndis.h. X-Git-Tag: libpcap-1.1.0~407 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/18f99473ee1655b642fdcde93efa20cbfd09060a Under MingW/cygwin, we need to use ddk/ndis.h instead of ntddndis.h. --- diff --git a/pcap-win32.c b/pcap-win32.c index e9bf491c..0faa96e9 100644 --- a/pcap-win32.c +++ b/pcap-win32.c @@ -33,12 +33,16 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.35 2007-10-17 18:52:41 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.36 2007-11-13 21:55:51 gianluca Exp $ (LBL)"; #endif #include #include -#include +#ifdef __MINGW32__ +#include +#else /*__MINGW32__*/ +#include +#endif /*__MINGW32__*/ #ifdef HAVE_DAG_API #include #include