From ca3e5a6322c8e9b18dd5dd3997d6e5a06216cbf1 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Sat, 30 Jun 2007 23:45:57 +0000 Subject: moved includes to setup.h so that the project headers also pick them up (eleminate gcc warning). --- lib/setup.h | 4 ++++ lib/timeval.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/setup.h b/lib/setup.h index 3eb6718ee..867a00851 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -315,6 +315,10 @@ int fileno( FILE *stream); #endif #ifdef NETWARE +#ifndef __NOVELL_LIBC__ +#include +#include +#endif #undef HAVE_ALARM #endif diff --git a/lib/timeval.c b/lib/timeval.c index a2e9665bb..bb9c0a174 100644 --- a/lib/timeval.c +++ b/lib/timeval.c @@ -68,9 +68,6 @@ static int gettimeofday(struct timeval *tp, void *nothing) } #else /* WIN32 */ /* non-win32 version of Curl_gettimeofday() */ -#if (defined(NETWARE) && !defined(__NOVELL_LIBC__)) -#include -#endif static int gettimeofday(struct timeval *tp, void *nothing) { (void)nothing; /* we don't support specific time-zones */ -- cgit v1.2.3