diff options
| author | Rui Paulo <rpaulo@FreeBSD.org> | 2010-10-28 16:22:13 +0000 |
|---|---|---|
| committer | Rui Paulo <rpaulo@FreeBSD.org> | 2010-10-28 16:22:13 +0000 |
| commit | e89167f07a9ca239491071320fd6d010e183107e (patch) | |
| tree | a1654f0d5a28352ec1204b8585177e6d0a26cae4 /optimize.c | |
| parent | c6a6c5e28b1033c61a7bb7e108fa0592b22cc016 (diff) | |
Notes
Diffstat (limited to 'optimize.c')
| -rw-r--r-- | optimize.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/optimize.c b/optimize.c index 475313f26971b..46dffec8a9cc7 100644 --- a/optimize.c +++ b/optimize.c @@ -22,13 +22,27 @@ */ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/libpcap/optimize.c,v 1.90.2.1 2008/01/02 04:22:16 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/optimize.c,v 1.91 2008-01-02 04:16:46 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif +#ifdef WIN32 +#include <pcap-stdinc.h> +#else /* WIN32 */ +#if HAVE_INTTYPES_H +#include <inttypes.h> +#elif HAVE_STDINT_H +#include <stdint.h> +#endif +#ifdef HAVE_SYS_BITYPES_H +#include <sys/bitypes.h> +#endif +#include <sys/types.h> +#endif /* WIN32 */ + #include <stdio.h> #include <stdlib.h> #include <memory.h> |
