projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e150150
)
Inclusion of time header files based on header existance
author
Yang Tse
<yangsita@gmail.com>
Thu, 12 Oct 2006 03:57:33 +0000
(
03:57
+0000)
committer
Yang Tse
<yangsita@gmail.com>
Thu, 12 Oct 2006 03:57:33 +0000
(
03:57
+0000)
lib/timeval.h
patch
|
blob
|
history
diff --git
a/lib/timeval.h
b/lib/timeval.h
index 8ab7a44012b52cba73d863f0e10647ab95f7d3cb..5decc892b13e0056d254341e4d54eaeab2f1d8ad 100644
(file)
--- a/
lib/timeval.h
+++ b/
lib/timeval.h
@@
-30,11
+30,14
@@
#include "setup.h"
-#ifdef WIN32
-#include <time.h>
-#else
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#ifdef TIME_WITH_SYS_TIME
+#include <time.h>
+#endif
+#else
+#ifdef HAVE_TIME_H
+#include <time.h>
#endif
#endif