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:
Daniel Stenberg 2003-06-03 08:07:06 +00:00
parent 7c6424f0a9
commit ceef206c21

View File

@ -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"