From c3614fa6a36d5d28fce0ffbce2110dfff4822c23 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 14 Jan 2004 07:42:10 +0000 Subject: [PATCH] Gisle Vanem updated the code for win32 and djgpp builds. --- src/config-win32.h | 3 +++ src/main.c | 4 ++++ src/setup.h | 1 + 3 files changed, 8 insertions(+) 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 header file. */ #define HAVE_IO_H 1 +/* Define if you have the 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 +#endif + #ifdef HAVE_SYS_POLL_H #include #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