From a5514e389019adda62f2d34dd02555f95af0f6d9 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 4 Sep 2017 00:51:48 -0700 Subject: Put the stuff to get the sized integer types defined into pcap-types.h. Have pcap-types.h arrange to define the intN_t/u_intN_t types, and the INTn_MAX/UINTn_MAX values, on all platforms, and use it wherever it's appropriate. Include it up front in scanner.l, to avoid redefinitions of the INTn_MAX/UINTn_MAX types. --- gencode.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'gencode.c') diff --git a/gencode.c b/gencode.c index 49011de2..f0ad3426 100644 --- a/gencode.c +++ b/gencode.c @@ -24,18 +24,10 @@ #include #endif +#include #ifdef _WIN32 #include #else /* _WIN32 */ -#if HAVE_INTTYPES_H -#include -#elif HAVE_STDINT_H -#include -#endif -#ifdef HAVE_SYS_BITYPES_H -#include -#endif -#include #include #endif /* _WIN32 */ -- cgit v1.2.3