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 HAVE_LIMITS_H
#include <limits.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif

View File

@ -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"