include the time headers just like we used to do in the curl/curl.h header
once upon the time
This commit is contained in:
parent
7c6424f0a9
commit
ceef206c21
11
src/main.c
11
src/main.c
@ -50,9 +50,18 @@
|
||||
#include <winsock.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#ifdef TIME_WITH_SYS_TIME
|
||||
/* We can include both fine */
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#else
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
#else
|
||||
# include <time.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#include "version.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user