cvs: /php4 reentrancy.c
| From: | Sascha Schumann | Date: | Sun, 19 Dec 1999 14:28:16 +0000 |
| Subject: | cvs: /php4 reentrancy.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8169@lists.php.net to get a copy of this message | ||
sas Sun Dec 19 09:28:16 1999 EDT
Modified files:
/php4 reentrancy.c
Log:
Fix for missing RAND_MAX on SunOS 4.1
Index: php4/reentrancy.c
diff -u php4/reentrancy.c:1.7 php4/reentrancy.c:1.8
--- php4/reentrancy.c:1.7 Tue Nov 30 15:46:07 1999
+++ php4/reentrancy.c Sun Dec 19 09:27:45 1999
@@ -16,9 +16,11 @@
+----------------------------------------------------------------------+
*/
-#include "php_reentrancy.h"
#include <string.h>
+
+#include "php_reentrancy.h"
+#include "ext/standard/php_rand.h" /* for RAND_MAX */
enum {
LOCALTIME_R,