aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-04-14 13:26:06 +0000
committerYang Tse <yangsita@gmail.com>2009-04-14 13:26:06 +0000
commit2c27e24bb4cabe964d3eacfa6d809d1672e5dc82 (patch)
tree95177e498c60c266ecffa690e743577b95fb9f5a
parentc382c550e7d8ad54d2c35b0fea9d0eef09ff3a25 (diff)
include <limits.h> for INT_MAX definition
-rw-r--r--lib/hostares.c1
-rw-r--r--lib/qssl.c1
-rw-r--r--lib/ssluse.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/hostares.c b/lib/hostares.c
index 708af4e86..b6af96f83 100644
--- a/lib/hostares.c
+++ b/lib/hostares.c
@@ -24,6 +24,7 @@
#include "setup.h"
#include <string.h>
+#include <limits.h>
#ifdef NEED_MALLOC_H
#include <malloc.h>
diff --git a/lib/qssl.c b/lib/qssl.c
index bf4e5f798..f2de800c5 100644
--- a/lib/qssl.c
+++ b/lib/qssl.c
@@ -27,6 +27,7 @@
#include <qsossl.h>
#include <errno.h>
#include <string.h>
+#include <limits.h>
#include <curl/curl.h>
#include "urldata.h"
diff --git a/lib/ssluse.c b/lib/ssluse.c
index 5d82691de..3887f9502 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -36,6 +36,7 @@
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
+#include <limits.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif