Ethereal-dev: Re: [Ethereal-dev] bug in rtp_analysis.c?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Gisle Vanem" <giva@xxxxxxxxx>
Date: Thu, 30 Oct 2003 14:12:43 +0100
"Guy Harris" <guy@xxxxxxxxxxxx> 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