mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
moved includes to setup.h so that the project headers also pick them up (eleminate gcc warning).
This commit is contained in:
parent
c4931601c6
commit
ca3e5a6322
@ -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
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user