summaryrefslogtreecommitdiff
path: root/lib/timeval.c
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-06-30 20:08:13 +0000
committerGunter Knauf <gk@gknw.de>2007-06-30 20:08:13 +0000
commitafdfa4bed24c9f937bc49807c6d547ac3a158525 (patch)
tree6ae4f7930b6bde890fd9792f68f19a914e7e14c0 /lib/timeval.c
parent3fc6faf1ae48f15f627ccd4fae92d9c085876d42 (diff)
downloadcurl-afdfa4bed24c9f937bc49807c6d547ac3a158525.tar.gz
minor patches to enable building for NetWare CLIB.
sent by Dmitry Mityugov.
Diffstat (limited to 'lib/timeval.c')
-rw-r--r--lib/timeval.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/timeval.c b/lib/timeval.c
index bb9c0a174..a2e9665bb 100644
--- a/lib/timeval.c
+++ b/lib/timeval.c
@@ -68,6 +68,9 @@ 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 */