From 7e5ef04b13f2a16d8655e16fa9d5ee96412a9f96 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Wed, 22 Sep 1999 05:26:22 +0000 Subject: [PATCH] - Get rid of warning on win32, non-threadsafe mode. --- ext/standard/lcg.c | 4 ++++ 1 file changed, 4 insertions(+) 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 +#endif + /* * combinedLCG() returns a pseudo random number in the range of (0,1). * The function combines two CGs with periods of -- 2.50.1