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:
Daniel Stenberg 2003-07-22 08:23:16 +00:00
parent 071c95128e
commit d0bd644eef
1 changed files with 3 additions and 7 deletions

View File

@ -48,18 +48,14 @@
#define LIBCURL_VERSION_NUM 0x070a06
#include <stdio.h>
/* The include stuff here is mainly for time_t! */
/* The include stuff here below is mainly for time_t! */
#ifdef vms
# include <types.h>
# include <time.h>
#else
# include <sys/types.h>
# ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
# else
# include <sys/time.h>
# endif
# include <time.h>
#endif /* defined (vms) */
#ifndef TRUE