]> granicus.if.org Git - curl/commitdiff
include <limits.h> for INT_MAX definition
authorYang Tse <yangsita@gmail.com>
Tue, 14 Apr 2009 13:26:06 +0000 (13:26 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 14 Apr 2009 13:26:06 +0000 (13:26 +0000)
lib/hostares.c
lib/qssl.c
lib/ssluse.c

index 708af4e86bd9b314dd704e1e7f1fc32971a9e34d..b6af96f83f1cbc3fd8c8fced68a4b9198ca22b3b 100644 (file)
@@ -24,6 +24,7 @@
 #include "setup.h"
 
 #include <string.h>
+#include <limits.h>
 
 #ifdef NEED_MALLOC_H
 #include <malloc.h>
index bf4e5f798190b3578004b59eebb08cf4f9bbc7c3..f2de800c54bc96b69b59713ac1904f0c55a1f893 100644 (file)
@@ -27,6 +27,7 @@
 #include <qsossl.h>
 #include <errno.h>
 #include <string.h>
+#include <limits.h>
 
 #include <curl/curl.h>
 #include "urldata.h"
index 5d82691de22479ace8ff0a520c6d27398e8a7121..3887f95028a57362f4254a925eed2b8eb9099901 100644 (file)
@@ -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