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: "Lars Ruoff" <lars.ruoff@xxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Oct 2003 13:55:27 +0100

> 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>?

packet-gsm_a.c and
packet-gms_sms.c
now compile fine.

#defining HAVE_ZLIB doesnt help.
In fact the macro is used nowhere in the code!

#ifdef HAVE_WINDOWS_H
#include <windows.h>
#endif
in util.c fixes the problem, indeed.

while
#include <winnt.h>
produces errors

thank you.
Lars