summaryrefslogtreecommitdiff
path: root/ext/standard/rand.c
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2002-09-06 07:44:30 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2002-09-06 07:44:30 +0000
commit338332c79943eb18db793d3c30124d782e186684 (patch)
treedd7e0a6d089fa49c5f3730870fe86d103883b957 /ext/standard/rand.c
parent15bf7382c2053e5b3bfe7142f55b424254e85677 (diff)
downloadphp-git-338332c79943eb18db793d3c30124d782e186684.tar.gz
NetWare related changes/modifications
Diffstat (limited to 'ext/standard/rand.c')
-rw-r--r--ext/standard/rand.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/rand.c b/ext/standard/rand.c
index fee002a048..dbb26a9e8a 100644
--- a/ext/standard/rand.c
+++ b/ext/standard/rand.c
@@ -31,6 +31,10 @@
# include <windows.h>
#endif
+#if defined(NETWARE) && !defined(NEW_LIBC) /* For getpid() used below */
+#include "netware/pwd.h"
+#endif
+
#include "php.h"
#include "php_math.h"
#include "php_rand.h"