summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2014-04-20 16:35:49 -0700
committerStanislav Malyshev <stas@php.net>2014-04-20 16:35:49 -0700
commit8b903f24d5c2df07fe007c8c9bd48283813c8e21 (patch)
treebc51044ce25b67499fc6c75cb789d0fb30771a19
parent6bad228b4e0c2429bc2f62f447b56ac54c2f5b04 (diff)
parent68283c9f4ab4492327e4a0ad2d0bb8e847a57e3d (diff)
downloadphp-git-8b903f24d5c2df07fe007c8c9bd48283813c8e21.tar.gz
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Fix a compiler warning in php_rand.h
-rw-r--r--ext/standard/php_rand.h1
-rw-r--r--ext/standard/rand.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_rand.h b/ext/standard/php_rand.h
index 2928d98c5e..0e8abb3613 100644
--- a/ext/standard/php_rand.h
+++ b/ext/standard/php_rand.h
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include "basic_functions.h"
+#include "php_lcg.h"
/* System Rand functions */
#ifndef RAND_MAX
diff --git a/ext/standard/rand.c b/ext/standard/rand.c
index b0af30aa9d..702fec2311 100644
--- a/ext/standard/rand.c
+++ b/ext/standard/rand.c
@@ -30,7 +30,6 @@
#include "php.h"
#include "php_math.h"
#include "php_rand.h"
-#include "php_lcg.h"
#include "basic_functions.h"