]> granicus.if.org Git - php/commitdiff
Fix warning on Win32 (thanks to Sebastian)
authorSascha Schumann <sas@php.net>
Fri, 21 Sep 2001 17:21:50 +0000 (17:21 +0000)
committerSascha Schumann <sas@php.net>
Fri, 21 Sep 2001 17:21:50 +0000 (17:21 +0000)
ext/standard/lcg.c

index a76725ec381bcb2914ba378eb7ce3dce042e1b7d..c5f203ff42062e10461d427d1697e556befb09cb 100644 (file)
@@ -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