Ethereal-dev: [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: "Anand V. Narwani" <anarwani@xxxxxxxxx>
Date: Mon, 09 Sep 2002 15:14:01 -0400
Hey folks,
I just tried build the windows version of Ethereal from a make dist I did on my unix box and it failed. Here are the errors:

<SNIP>
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.

Thanks,
Anand

--
Anand V. Narwani,  CCIE 3892
Advanced Engineering Services
Cisco Systems, Inc.
Direct/Fax: 919.392.3404
Email: anarwani@xxxxxxxxx

"Meddle not in the affairs of dragons, for you are crunchy and taste good with ketchup"