include <limits.h> for INT_MAX definition

This commit is contained in:
Yang Tse 2009-04-14 13:26:06 +00:00
parent c382c550e7
commit 2c27e24bb4
3 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include "setup.h" #include "setup.h"
#include <string.h> #include <string.h>
#include <limits.h>
#ifdef NEED_MALLOC_H #ifdef NEED_MALLOC_H
#include <malloc.h> #include <malloc.h>

View File

@ -27,6 +27,7 @@
#include <qsossl.h> #include <qsossl.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include <limits.h>
#include <curl/curl.h> #include <curl/curl.h>
#include "urldata.h" #include "urldata.h"

View File

@ -36,6 +36,7 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <ctype.h> #include <ctype.h>
#include <limits.h>
#ifdef HAVE_SYS_SOCKET_H #ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h> #include <sys/socket.h>
#endif #endif