diff src/sysdep.c @ 48652:682129896be4

(fcntl.h): Test only HAVE_FCNTL_H.
author Richard M. Stallman <rms@gnu.org>
date Wed, 04 Dec 2002 11:44:34 +0000
parents 00bcc92f4acf
children a7aee9fdf21e
line wrap: on
line diff
--- a/src/sysdep.c	Wed Dec 04 11:43:05 2002 +0000
+++ b/src/sysdep.c	Wed Dec 04 11:44:34 2002 +0000
@@ -147,17 +147,9 @@
 #include <sys/file.h>
 #endif /* not VMS */
 
-#ifndef BSD4_1
-#ifdef BSD_SYSTEM /* avoid writing defined (BSD_SYSTEM) || defined (USG)
-	      because the vms compiler doesn't grok `defined' */
+#ifdef HAVE_FCNTL_H
 #include <fcntl.h>
 #endif
-#ifdef USG
-#ifndef USG5
-#include <fcntl.h>
-#endif
-#endif
-#endif /* not 4.1 bsd */
 
 #ifndef MSDOS
 #include <sys/ioctl.h>