From 5b9c0a1d12994c1a8fa2034967544d73d2e97ad5 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Wed, 20 Apr 2005 15:07:03 +0000 Subject: [PATCH] Remove reference to defunct vms-pwd.h. For pwd.h, use HAVE_PWD_H, not !VMS. --- src/dired.c | 6 +++--- src/editfns.c | 4 +--- src/fileio.c | 4 +--- src/filelock.c | 6 ++---- src/xrdb.c | 4 +--- 5 files changed, 8 insertions(+), 16 deletions(-) diff --git a/src/dired.c b/src/dired.c index 62bf4beb384..87b48ba2d78 100644 --- a/src/dired.c +++ b/src/dired.c @@ -26,10 +26,10 @@ Boston, MA 02111-1307, USA. */ #include #include -#ifdef VMS -#include "vms-pwd.h" -#else +#ifdef HAVE_PWD_H #include +#endif +#ifndef VMS #include #endif diff --git a/src/editfns.c b/src/editfns.c index f77b9cafc80..ddf080a0359 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -24,9 +24,7 @@ Boston, MA 02111-1307, USA. */ #include #include -#ifdef VMS -#include "vms-pwd.h" -#else +#ifdef HAVE_PWD_H #include #endif diff --git a/src/fileio.c b/src/fileio.c index 7e24c94783b..e4786974860 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -45,9 +45,7 @@ Boston, MA 02111-1307, USA. */ # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) #endif -#ifdef VMS -#include "vms-pwd.h" -#else +#ifdef HAVE_PWD_H #include #endif diff --git a/src/filelock.c b/src/filelock.c index 84540f79330..5ddec8616f8 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -26,11 +26,9 @@ Boston, MA 02111-1307, USA. */ #include #include -#ifdef VMS -#include "vms-pwd.h" -#else +#ifdef HAVE_PWD_H #include -#endif /* not VMS */ +#endif #include #ifdef HAVE_FCNTL_H diff --git a/src/xrdb.c b/src/xrdb.c index 852fa2b808c..957227b7942 100644 --- a/src/xrdb.c +++ b/src/xrdb.c @@ -53,9 +53,7 @@ Boston, MA 02111-1307, USA. */ #include #include #include -#ifdef VMS -#include "vms-pwd.h" -#else +#ifdef HAVE_PWD_H #include #endif #include -- 2.39.2