Ethereal-dev: [Ethereal-dev] Problems compiling ethereal

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

From: Michael Tüxen <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Date: Sat, 3 Aug 2002 21:12:43 +0200
Dear all, Dear Joerg,

I have problems compiling the CVS version of ethereal. On MacOS X
and more generally on FreeBSD sys/types.h is needed by sys/socket.h.

To be more concrete I had to make the following changes:

packet-null.c:     I have to include sys/types.h before sys/socket.h
packet-pgm.c:      I have to include sys/types.h before sys/socket.h

As a remark:
packet-ipv6.c:     I do not need to include sys/socket.h
pcap-util,c:       It needs sys/socket.h but not sys/types.h

Since I'm not an expert on these #include stuff I do not want to
change the code in the repository. Joerg, can you look into this?

Best regards
Michael