summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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