summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorRouven Weßling <me@rouvenwessling.de>2014-02-24 14:45:42 +0100
committerStanislav Malyshev <stas@php.net>2014-04-20 16:35:36 -0700
commit68283c9f4ab4492327e4a0ad2d0bb8e847a57e3d (patch)
treecc38e55e0fa8d9ea841ac4dbc4a5f9bf4c9f6b5e /ext
parent49341e992ad7f8eb7f94d4c946fb74f8e33e7e75 (diff)
downloadphp-git-68283c9f4ab4492327e4a0ad2d0bb8e847a57e3d.tar.gz
Fix a compiler warning in php_rand.h
Diffstat (limited to 'ext')
-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"