diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-01-26 20:28:51 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-01-26 20:28:51 -0800 |
commit | c9d96098095ef3e5fd99e8badcc9dbde4853cc5c (patch) | |
tree | 6f666fb5abca2ad43f21a366037c06e61c86912c | |
parent | d1c86de80c7127a453d4b5e29dbe37e07bef9d64 (diff) |
Include headers that should cause u_int64_t to be defined.
-rw-r--r-- | optimize.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -29,6 +29,20 @@ static const char rcsid[] _U_ = #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> |