Gisle Vanem updated the code for win32 and djgpp builds.
authorDaniel Stenberg <daniel@haxx.se>
Wed, 14 Jan 2004 07:42:10 +0000 (07:42 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 14 Jan 2004 07:42:10 +0000 (07:42 +0000)
src/config-win32.h
src/main.c
src/setup.h

index 562b605..f357dfb 100644 (file)
@@ -8,6 +8,9 @@
 /* Define if you have the <io.h> header file.  */
 #define HAVE_IO_H 1
  
+/* Define if you have the <limits.h> header file */
+#define HAVE_LIMITS_H 1
+
 /* Define if you have the strdup function.  */
 #define HAVE_STRDUP 1
 
index aac07be..bd757a5 100644 (file)
 
 #endif
 
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
+
 #ifdef HAVE_SYS_POLL_H
 #include <sys/poll.h>
 #endif
index 4dfb104..7e8428d 100644 (file)
@@ -92,6 +92,7 @@ int fileno( FILE *stream);
 #ifdef word
 #undef word
 #endif
+#define HAVE_LIMITS_H /* we have limits.h */
 #define DIR_CHAR      "/"
 #define DOT_CHAR      "_"
 #else