diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-09-04 00:51:48 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-09-04 00:51:48 -0700 |
commit | a5514e389019adda62f2d34dd02555f95af0f6d9 (patch) | |
tree | 37eb924a593af1ea6bdf2705aad453b6db7ee07c /savefile.c | |
parent | 788b880617318c55db670e533ac3124ea77eafb9 (diff) |
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.
Diffstat (limited to 'savefile.c')
-rw-r--r-- | savefile.c | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -32,18 +32,9 @@ #include <config.h> #endif +#include <pcap-types.h> #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 <errno.h> |