]> granicus.if.org Git - apache/commitdiff
always include limits.h for the INT_MAX value.
authorGreg Stein <gstein@apache.org>
Thu, 29 Jun 2000 00:53:38 +0000 (00:53 +0000)
committerGreg Stein <gstein@apache.org>
Thu, 29 Jun 2000 00:53:38 +0000 (00:53 +0000)
Submitted by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85729 13f79535-47bb-0310-9956-ffa450edef68

modules/dav/main/mod_dav.h

index d4dab1ca3a840c6522c81dc2f9629b4936b00108..bbcb93b92da9075daeb56dbab69021f7439b9a8c 100644 (file)
@@ -64,6 +64,7 @@ extern "C" {
 #endif
 
 #include "httpd.h"
+#include <limits.h>     /* for INT_MAX */
 
 
 #define DAV_VERSION            "1.0.1"
@@ -74,7 +75,6 @@ extern "C" {
 #define DAV_READ_BLOCKSIZE     2048    /* used for reading input blocks */
 
 #ifdef WIN32
-#include <limits.h>
 typedef int ssize_t;
 #endif /* WIN32 */