summaryrefslogtreecommitdiff
path: root/fad-gifc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-09-09 20:36:27 -0700
committerGuy Harris <guy@alum.mit.edu>2018-09-09 20:36:27 -0700
commit3a57e7d0d3be1b223d8014b16d4dfaac283c4d6f (patch)
tree51b147f8ada564371f99c01cb9aa5659c1c44a8f /fad-gifc.c
parentf33291aa9b1510944af6c1861d67c4138f8fe883 (diff)
downloadlibpcap-3a57e7d0d3be1b223d8014b16d4dfaac283c4d6f.tar.gz
Assume we have limits.h.
It's in C90 (and I think it was in C89); if you don't have it, you have an environment that's too old, especially given that we require a C99-capable compiler on UN*X.
Diffstat (limited to 'fad-gifc.c')
-rw-r--r--fad-gifc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fad-gifc.c b/fad-gifc.c
index 6b161274..6e63c154 100644
--- a/fad-gifc.c
+++ b/fad-gifc.c
@@ -56,12 +56,7 @@ struct rtentry; /* declarations in <net/if.h> */
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-
-#ifdef HAVE_LIMITS_H
#include <limits.h>
-#else
-#define INT_MAX 2147483647
-#endif
#include "pcap-int.h"