X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3d932490b826facb568937a1290910a1265267f5..bcd506b0a6b27f66b5f44f6dbc623cb6ccec8784:/tcpdump-stdinc.h diff --git a/tcpdump-stdinc.h b/tcpdump-stdinc.h index b5a9e908..7e5049da 100644 --- a/tcpdump-stdinc.h +++ b/tcpdump-stdinc.h @@ -17,6 +17,15 @@ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + * + * @(#) $Header: /tcpdump/master/tcpdump/tcpdump-stdinc.h,v 1.3 2002-08-05 07:47:24 guy Exp $ (LBL) + */ + +/* + * Include the appropriate OS header files on Windows and various flavors + * of UNIX, and also define some additional items and include various + * non-OS header files on Windows, and; this isolates most of the platform + * differences to this one file. */ #ifdef WIN32 @@ -58,29 +67,26 @@ typedef char* caddr_t; #define O_RDONLY _O_RDONLY typedef short ino_t; -#endif +#endif /* __MINGW32__ */ -#else +#else /* WIN32 */ #include #include #include -#include #include -#include +#include /* concession to AIX */ #include -#include +#include #include -#include -#include -#include -#ifdef HAVE_SYS_SOCKIO_H -#include +#ifdef TIME_WITH_SYS_TIME +#include +#endif + #include -#endif /* HAVE_SYS_SOCKIO_H */ -#endif +#endif /* WIN32 */ #ifdef INET6 #include "ip6.h"