summaryrefslogtreecommitdiff
path: root/lib/security.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-08-24 14:00:42 +0200
committerYang Tse <yangsita@gmail.com>2011-08-24 14:00:42 +0200
commite83421baf4dc08a1a632ee9dc9bdecad19c677b2 (patch)
tree4ee166b627398eeed0adc3ea09f33a43486e6b0c /lib/security.c
parentaa5c72af15696881e20e830862642f1dfeceea7a (diff)
downloadcurl-e83421baf4dc08a1a632ee9dc9bdecad19c677b2.tar.gz
include limits.h for INT_MAX
Diffstat (limited to 'lib/security.c')
-rw-r--r--lib/security.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/security.c b/lib/security.c
index a5567526e..536d7c229 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -54,6 +54,10 @@
#include <unistd.h>
#endif
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
+
#include "urldata.h"
#include "curl_base64.h"
#include "curl_memory.h"