"Guy Harris" <[EMAIL PROTECTED]> said:

> On Thu, Oct 30, 2003 at 12:49:42PM +0100, Gisle Vanem wrote:
> > Those are defined in <winnt.h> which AFAICS is included via
> > <zlib.h> only. Do you have HAVE_ZLIB defined?
> 
> That might be the issue.
> 
> However, should we include <winnt.h>, or <windows.h>?
 
<winnt.h> should be okay. Otherwise <windows.h> will pull
in <winsock.h> unless WIN32_LEAN_AND_MEAN is defined.

Untested:

+#ifdef WIN32
+#include <winnt.h>
+#endif

 #ifdef HAVE_LIBPCAP
 #include <pcap.h>

--gv
 

Reply via email to