aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-14 07:42:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-14 07:42:10 +0000
commitc3614fa6a36d5d28fce0ffbce2110dfff4822c23 (patch)
tree797613b60cc7f0c6eda204ca3b2dcbeddbfc9778 /src
parentf1da9e508e049904f02cae246cdc844487bc8c0d (diff)
Gisle Vanem updated the code for win32 and djgpp builds.
Diffstat (limited to 'src')
-rw-r--r--src/config-win32.h3
-rw-r--r--src/main.c4
-rw-r--r--src/setup.h1
3 files changed, 8 insertions, 0 deletions
diff --git a/src/config-win32.h b/src/config-win32.h
index 562b60590..f357dfb6a 100644
--- a/src/config-win32.h
+++ b/src/config-win32.h
@@ -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
diff --git a/src/main.c b/src/main.c
index aac07bef2..bd757a554 100644
--- a/src/main.c
+++ b/src/main.c
@@ -88,6 +88,10 @@
#endif
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif
+
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif
diff --git a/src/setup.h b/src/setup.h
index 4dfb10466..7e8428d70 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -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