X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3454732513abdbd1490c6107a94c6474f71a74d2..ed85e20e4d6a27d5405f37366dd34b64c10a9211:/tcpdump-stdinc.h diff --git a/tcpdump-stdinc.h b/tcpdump-stdinc.h index 77dccd5c..0a94bb59 100644 --- a/tcpdump-stdinc.h +++ b/tcpdump-stdinc.h @@ -104,14 +104,9 @@ typedef char* caddr_t; #include #if HAVE_INTTYPES_H #include -#else -#if HAVE_STDINT_H +#elif HAVE_STDINT_H #include #endif -#endif -#ifdef HAVE_SYS_BITYPES_H -#include -#endif #include #include /* concession to AIX */ #include @@ -268,4 +263,11 @@ typedef char* caddr_t; * end of Apple deprecation workaround macros */ +#ifndef min +#define min(a,b) ((a)>(b)?(b):(a)) +#endif +#ifndef max +#define max(a,b) ((b)>(a)?(b):(a)) +#endif + #endif /* tcpdump_stdinc_h */