Remove reference to defunct vms-pwd.h.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Wed, 20 Apr 2005 15:07:03 +0000 (15:07 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Wed, 20 Apr 2005 15:07:03 +0000 (15:07 +0000)
For pwd.h, use HAVE_PWD_H, not !VMS.

src/dired.c
src/editfns.c
src/fileio.c
src/filelock.c
src/xrdb.c

index 62bf4be..87b48ba 100644 (file)
@@ -26,10 +26,10 @@ Boston, MA 02111-1307, USA.  */
 #include <sys/types.h>
 #include <sys/stat.h>
 
-#ifdef VMS
-#include "vms-pwd.h"
-#else
+#ifdef HAVE_PWD_H
 #include <pwd.h>
+#endif
+#ifndef VMS
 #include <grp.h>
 #endif
 
index f77b9ca..ddf080a 100644 (file)
@@ -24,9 +24,7 @@ Boston, MA 02111-1307, USA.  */
 #include <sys/types.h>
 #include <stdio.h>
 
-#ifdef VMS
-#include "vms-pwd.h"
-#else
+#ifdef HAVE_PWD_H
 #include <pwd.h>
 #endif
 
index 7e24c94..e478697 100644 (file)
@@ -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 <pwd.h>
 #endif
 
index 84540f7..5ddec86 100644 (file)
@@ -26,11 +26,9 @@ Boston, MA 02111-1307, USA.  */
 #include <signal.h>
 #include <stdio.h>
 
-#ifdef VMS
-#include "vms-pwd.h"
-#else
+#ifdef HAVE_PWD_H
 #include <pwd.h>
-#endif /* not VMS */
+#endif
 
 #include <sys/file.h>
 #ifdef HAVE_FCNTL_H
index 852fa2b..957227b 100644 (file)
@@ -53,9 +53,7 @@ Boston, MA 02111-1307, USA.  */
 #include <X11/X.h>
 #include <X11/Xutil.h>
 #include <X11/Xresource.h>
-#ifdef VMS
-#include "vms-pwd.h"
-#else
+#ifdef HAVE_PWD_H
 #include <pwd.h>
 #endif
 #include <sys/stat.h>