# HG changeset patch # User Richard M. Stallman # Date 1039002274 0 # Node ID 682129896be4ae9061936550576c7d6c8bda80f1 # Parent 572f41d9a2ea27d5c9e539c542e7316fb3056a22 (fcntl.h): Test only HAVE_FCNTL_H. diff -r 572f41d9a2ea -r 682129896be4 src/fileio.c --- a/src/fileio.c Wed Dec 04 11:43:05 2002 +0000 +++ b/src/fileio.c Wed Dec 04 11:44:34 2002 +0000 @@ -21,7 +21,7 @@ #include -#if defined (USG5) || defined (BSD_SYSTEM) || defined (GNU_LINUX) +#ifdef HAVE_FCNTL_H #include #endif diff -r 572f41d9a2ea -r 682129896be4 src/sysdep.c --- 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 #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 #endif -#ifdef USG -#ifndef USG5 -#include -#endif -#endif -#endif /* not 4.1 bsd */ #ifndef MSDOS #include