summaryrefslogtreecommitdiff
path: root/ext/standard/lcg.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-09-21 17:21:50 +0000
committerSascha Schumann <sas@php.net>2001-09-21 17:21:50 +0000
commit4582d3851936bc0a63238defcd8b729a6bcf52d3 (patch)
treefd0dff1b2e2d8a07b5a33aa1d4ee45a63dbede14 /ext/standard/lcg.c
parent0a8677167dcf48333b868c5c0c91f6ebbddd704f (diff)
downloadphp-git-4582d3851936bc0a63238defcd8b729a6bcf52d3.tar.gz
Fix warning on Win32 (thanks to Sebastian)
Diffstat (limited to 'ext/standard/lcg.c')
-rw-r--r--ext/standard/lcg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/standard/lcg.c b/ext/standard/lcg.c
index a76725ec38..c5f203ff42 100644
--- a/ext/standard/lcg.c
+++ b/ext/standard/lcg.c
@@ -25,7 +25,9 @@
#include <unistd.h>
#endif
-#if HAVE_SYS_TIME_H
+#ifdef PHP_WIN32
+#include "win32/time.h"
+#else
#include <sys/time.h>
#endif