mirror of https://github.com/moparisthebest/curl
Don't depend on the TIME_WITH_SYS_TIME define. win32 doesn't have sys/time.h
and I don't think we need it.
This commit is contained in:
parent
071c95128e
commit
d0bd644eef
|
@ -48,18 +48,14 @@
|
||||||
#define LIBCURL_VERSION_NUM 0x070a06
|
#define LIBCURL_VERSION_NUM 0x070a06
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
/* The include stuff here is mainly for time_t! */
|
|
||||||
|
/* The include stuff here below is mainly for time_t! */
|
||||||
#ifdef vms
|
#ifdef vms
|
||||||
# include <types.h>
|
# include <types.h>
|
||||||
# include <time.h>
|
# include <time.h>
|
||||||
#else
|
#else
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
# ifdef TIME_WITH_SYS_TIME
|
# include <time.h>
|
||||||
# include <sys/time.h>
|
|
||||||
# include <time.h>
|
|
||||||
# else
|
|
||||||
# include <sys/time.h>
|
|
||||||
# endif
|
|
||||||
#endif /* defined (vms) */
|
#endif /* defined (vms) */
|
||||||
|
|
||||||
#ifndef TRUE
|
#ifndef TRUE
|
||||||
|
|
Loading…
Reference in New Issue