summaryrefslogtreecommitdiff
path: root/ext/standard/php_rand.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-04-22 15:44:35 +0000
committerAndi Gutmans <andi@php.net>2000-04-22 15:44:35 +0000
commit5da62dd57e31ed51f9879a6cf31143088ed0a8fc (patch)
tree0edc77710f40f04c4a0374df47ab5abaf69cf4fa /ext/standard/php_rand.h
parent44908999a8cacfe016a885e645f8a0f6be9ac7ce (diff)
downloadphp-git-5da62dd57e31ed51f9879a6cf31143088ed0a8fc.tar.gz
- In Windows RAND_MAX is defined in stdlib.h
- Get rid of comment which is confusing.
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