X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3454732513abdbd1490c6107a94c6474f71a74d2..dbfdf97bdedca08dc9bd59bb706b0ccc827633ac:/tcpdump-stdinc.h diff --git a/tcpdump-stdinc.h b/tcpdump-stdinc.h index 77dccd5c..d971341c 100644 --- a/tcpdump-stdinc.h +++ b/tcpdump-stdinc.h @@ -268,4 +268,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 */