include limits.h for INT_MAX

This commit is contained in:
Yang Tse 2011-08-24 14:00:42 +02:00
parent aa5c72af15
commit e83421baf4
2 changed files with 8 additions and 0 deletions

View File

@ -30,6 +30,10 @@
#ifdef USE_CYASSL #ifdef USE_CYASSL
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#ifdef HAVE_SYS_SOCKET_H #ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h> #include <sys/socket.h>
#endif #endif

View File

@ -54,6 +54,10 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#include "urldata.h" #include "urldata.h"
#include "curl_base64.h" #include "curl_base64.h"
#include "curl_memory.h" #include "curl_memory.h"