]> granicus.if.org Git - curl/commitdiff
include <limits.h> for INT_MAX definition
authorYang Tse <yangsita@gmail.com>
Fri, 12 Jun 2009 02:47:35 +0000 (02:47 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 12 Jun 2009 02:47:35 +0000 (02:47 +0000)
lib/url.c

index 840eefeb7a9c3b429298f5d6dbb373322f94e316..cd79866c710b7dc69704aeb671078228927c4b29 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
 
 #endif  /* WIN32 */
 
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
+
 #ifdef USE_LIBIDN
 #include <idna.h>
 #include <tld.h>