mirror of
https://github.com/curl/curl.git
synced 2026-06-03 04:44:15 +03:00
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
1 changed files with 10 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue