summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2014-04-20 16:36:55 -0700
committerStanislav Malyshev <stas@php.net>2014-04-20 16:36:55 -0700
commit821cc39882af68ce367fc583d73c34ff14acd22c (patch)
tree531f18a54b5ebc37e030a07f7945adca042eabe0
parent60c54f016f0ce2f412a8fb57cfc56bef853f8458 (diff)
parent5272d6c896b955d85a527f5a83da3ec8b434bb5a (diff)
downloadphp-git-821cc39882af68ce367fc583d73c34ff14acd22c.tar.gz
Merge branch 'PHP-5.6'
* PHP-5.6: 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"