Ethereal-dev: Re: [ethereal-dev] Wiretap in CVS now

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

From: guy@xxxxxxxxxx (Guy Harris)
Date: Thu, 12 Nov 1998 13:25:51 -0800 (PST)
> Oh, and my CVS-update modified every packet-*.c file in ethereal. I removed
> the '#include <pcap.h>' line from every packet-*.c file.

At least on some platforms (e.g., Solaris 2.6, at least with the way GCC
2.8.1 is installed here), that means they now have to include
<sys/types.h> explicitly to get "u_char" declared, if they use "u_char".

The other "packet-*.c" files that needed "u_char" appear already to have
included it, but "packet-fddi.c" didn't, so it failed to compile here; I
checked in a change to add an include of <sys/types.h>.