summaryrefslogtreecommitdiff
path: root/ext/standard/php_rand.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/php_rand.h')
-rw-r--r--ext/standard/php_rand.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/php_rand.h b/ext/standard/php_rand.h
index 01db58d0e1..add0a651ea 100644
--- a/ext/standard/php_rand.h
+++ b/ext/standard/php_rand.h
@@ -24,6 +24,8 @@
#ifndef _PHP_RAND_H
#define _PHP_RAND_H
+#include <stdlib.h>
+
#ifndef RAND_MAX
#define RAND_MAX (1<<15)
#endif