summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorDan Sugalski <dan@sidhe.org>2001-05-02 07:37:27 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-02 15:35:37 +0000
commitfd8cd3a3fe489fe70b00d1da7f9034bb1c56f03c (patch)
treedd0eebd71482f83187b55d14fa0340d6ffdc2cf6 /pp_sys.c
parent09bf542c87dffb276bec96e979ba5437e7fc39b1 (diff)
downloadperl-fd8cd3a3fe489fe70b00d1da7f9034bb1c56f03c.tar.gz
Multiplicity and thread fixes for VMS
Message-Id: <5.0.2.1.0.20010502112909.01f24e28@24.8.96.48> p4raw-id: //depot/perl@9960
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index e2c4111bde..5505e33f44 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -70,8 +70,10 @@ extern int h_errno;
# ifdef I_PWD
# include <pwd.h>
# else
+# if !defined(VMS)
struct passwd *getpwnam (char *);
struct passwd *getpwuid (Uid_t);
+# endif
# endif
# ifdef HAS_GETPWENT
struct passwd *getpwent (void);
@@ -3697,7 +3699,7 @@ PP(pp_readdir)
{
dSP;
#if defined(Direntry_t) && defined(HAS_READDIR)
-#ifndef I_DIRENT
+#if !defined(I_DIRENT) && !defined(VMS)
Direntry_t *readdir (DIR *);
#endif
register Direntry_t *dp;