Ethereal-dev: Re: [Ethereal-dev] Error building in win32 due to problem in print_mswin.c

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 9 Sep 2002 13:16:58 -0700
On Mon, Sep 09, 2002 at 03:14:01PM -0400, Anand V. Narwani wrote:
> print_mswin.c
> print_mswin.c(142) : error C2065: 'FILE' : undeclared identifier
> print_mswin.c(142) : error C2065: 'fh1' : undeclared identifier
> print_mswin.c(142) : warning C4552: '*' : operator has no effect; expected 
> opera
> tor with side-effect
> <.... Lots more errors after this ...>
> 
> It appears that this is because of a missing '#include <stdio.h>' at the 
> top of the file.

I've put it back (in both the "gtk" and "gtk2" versions, although
they're identical and should be shared).