Re: [tcpdump-workers] making libpcap-0.9.1 compile on an embedded

2005-06-19 Thread Guy Harris
Andy Chittenden wrote: Rather than using OS specific #defines, wouldn't it be better to use HAVE_SYS_FILE_H and set that appropriately for MSDOS (and our embedded OS)? One problem with doing that is that pcap.h includes other header files, so if it did that, either 1) HAVE_SYS_FILE_H would

[tcpdump-workers] making libpcap-0.9.1 compile on an embedded system

2005-06-17 Thread Andy Chittenden
I'm trying to port libpcap to our home grown OS. Our embedded OS has got some of the system header files and not others and so a number of the source files don't compile without some modifications. I notice that some of the code already has such #includes #ifdefd out using WIN32 or MSDOS guards. Fo