summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouven Weßling <me@rouvenwessling.de>2014-02-24 14:45:42 +0100
committerRouven Weßling <me@rouvenwessling.de>2014-02-27 20:57:31 +0100
commit09f69ca02d70941bda9d52d7301462b735249f1e (patch)
tree6ff8c33b5c3e0287ace935653a1e58d06e25d7db
parentafb0675e3b5efde717b482ec69e7fb7e601a6ad0 (diff)
downloadphp-git-09f69ca02d70941bda9d52d7301462b735249f1e.tar.gz
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"