summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2010-11-22 15:43:46 +0000
committerKalle Sommer Nielsen <kalle@php.net>2010-11-22 15:43:46 +0000
commit547691766af909aa3945edf5e8d9b8b9ee1d42ae (patch)
tree3f62f9bbef65c4b9d711d20151955d282eadb1bc /main
parent50e6d20d3ca0e6e2c0e07ec9d17184d701151c9d (diff)
downloadphp-git-547691766af909aa3945edf5e8d9b8b9ee1d42ae.tar.gz
Fixed gettimeofday() usage for Ilia's REQUEST_TIME improvement on Windows
Diffstat (limited to 'main')
-rw-r--r--main/SAPI.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 2cc453c203..7fa8775a93 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -37,6 +37,8 @@
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#elif defined(PHP_WIN32)
+#include "win32/time.h"
#endif
#include "rfc1867.h"