summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2009-09-28 13:41:36 +0530
committerMukund Sivaraman <muks@banu.com>2009-09-28 13:41:36 +0530
commitf08f0218af63811dacfd81ee2aff5013674c71ec (patch)
tree653b0440362897313552cf3e49b369d64ad48285
parentf0263c58232409d52476c41a676f02984089f9eb (diff)
downloadtinyproxy-f08f0218af63811dacfd81ee2aff5013674c71ec.tar.gz
tinyproxy-f08f0218af63811dacfd81ee2aff5013674c71ec.zip
Include limits.h for LONG_MAX and LONG_MIN
Not including limits.h caused an issue when building on FreeBSD.
Diffstat (limited to '')
-rw-r--r--src/acl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/acl.c b/src/acl.c
index 1ca7377..9ece07b 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -30,6 +30,8 @@
#include "sock.h"
#include "vector.h"
+#include <limits.h>
+
/* Define how long an IPv6 address is in bytes (128 bits, 16 bytes) */
#define IPV6_LEN 16