]> granicus.if.org Git - php/commitdiff
Fix a compiler warning in php_rand.h
authorRouven Weßling <me@rouvenwessling.de>
Mon, 24 Feb 2014 13:45:42 +0000 (14:45 +0100)
committerStanislav Malyshev <stas@php.net>
Sun, 20 Apr 2014 23:35:36 +0000 (16:35 -0700)
ext/standard/php_rand.h
ext/standard/rand.c

index 2928d98c5eb54ef185ad33cb059e5cb4cafe5193..0e8abb36131247a2f19c2f86daad1741e26cab0e 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <stdlib.h>
 #include "basic_functions.h"
+#include "php_lcg.h"
 
 /* System Rand functions */
 #ifndef RAND_MAX
index b0af30aa9ddd3c29510818f221ac0a3262ee550d..702fec23119e0958af4fb83234062dbd5ce41c75 100644 (file)
@@ -30,7 +30,6 @@
 #include "php.h"
 #include "php_math.h"
 #include "php_rand.h"
-#include "php_lcg.h"
 
 #include "basic_functions.h"