aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/curlutil.c3
-rw-r--r--src/setup.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/curlutil.c b/src/curlutil.c
index 2bb3f8e79..0394d80e2 100644
--- a/src/curlutil.c
+++ b/src/curlutil.c
@@ -70,9 +70,6 @@ static int gettimeofday(struct timeval *tp, void *nothing)
}
#else /* WIN32 */
/* non-win32 version of Curl_gettimeofday() */
-#if (defined(NETWARE) && !defined(__NOVELL_LIBC__))
-#include <sys/timeval.h>
-#endif
static int gettimeofday(struct timeval *tp, void *nothing)
{
(void)nothing; /* we don't support specific time-zones */
diff --git a/src/setup.h b/src/setup.h
index c0e29fcb5..c66b8e143 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -176,6 +176,10 @@ int fileno( FILE *stream);
#define typedef_bool
#endif
+#if (defined(NETWARE) && !defined(__NOVELL_LIBC__))
+#include <sys/timeval.h>
+#endif
+
#ifndef SIZEOF_CURL_OFF_T
#define SIZEOF_CURL_OFF_T sizeof(curl_off_t)
#endif