Commit ca3e5a63 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

moved includes to setup.h so that the project headers also pick them up (eleminate gcc warning).

parent c4931601
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -315,6 +315,10 @@ int fileno( FILE *stream);
#endif

#ifdef NETWARE
#ifndef __NOVELL_LIBC__
#include <sys/bsdskt.h>
#include <sys/timeval.h>
#endif
#undef HAVE_ALARM
#endif

+0 −3
Original line number Diff line number Diff line
@@ -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 <sys/timeval.h>
#endif
static int gettimeofday(struct timeval *tp, void *nothing)
{
  (void)nothing; /* we don't support specific time-zones */
+0 −3
Original line number Diff line number Diff line
@@ -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 */
+4 −0
Original line number Diff line number Diff line
@@ -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