summaryrefslogtreecommitdiff
path: root/ext/standard/lcg.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-09-22 05:26:22 +0000
committerAndi Gutmans <andi@php.net>1999-09-22 05:26:22 +0000
commit7e5ef04b13f2a16d8655e16fa9d5ee96412a9f96 (patch)
treeb68951bd0771e7b7298342b9b6ec370be998c385 /ext/standard/lcg.c
parent709286c0d205cc6dff7b2d10c24131bdaf76bced (diff)
downloadphp-git-7e5ef04b13f2a16d8655e16fa9d5ee96412a9f96.tar.gz
- Get rid of warning on win32, non-threadsafe mode.
Diffstat (limited to 'ext/standard/lcg.c')
-rw-r--r--ext/standard/lcg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/lcg.c b/ext/standard/lcg.c
index 8fe4950aa0..6e87f24df8 100644
--- a/ext/standard/lcg.c
+++ b/ext/standard/lcg.c
@@ -29,6 +29,10 @@ int lcg_globals_id;
static php_lcg_globals lcg_globals;
#endif
+#if WIN32||WINNT
+#include <process.h>
+#endif
+
/*
* combinedLCG() returns a pseudo random number in the range of (0,1).
* The function combines two CGs with periods of