aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-01-26 20:16:44 -0800
committerGuy Harris <guy@alum.mit.edu>2010-01-26 20:16:44 -0800
commitd1c86de80c7127a453d4b5e29dbe37e07bef9d64 (patch)
treeabb26b48c346c9507bd86d8085ac7b7f8d2da36c
parent9934984be500978f04439cedf003cd4340ddcf5d (diff)
Include headers that should cause u_int64_t to be defined.
-rw-r--r--gencode.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gencode.c b/gencode.c
index b0abe00..14f4b75 100644
--- a/gencode.c
+++ b/gencode.c
@@ -31,6 +31,14 @@ static const char rcsid[] _U_ =
#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>
#include <sys/socket.h>
#endif /* WIN32 */