Commit 612221ab authored by Richard M. Stallman's avatar Richard M. Stallman

(fcntl.h): Test only HAVE_FCNTL_H.

parent 321ce330
......@@ -21,7 +21,7 @@ Boston, MA 02111-1307, USA. */
#include <config.h>
#if defined (USG5) || defined (BSD_SYSTEM) || defined (GNU_LINUX)
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
......
......@@ -147,17 +147,9 @@ extern int errno;
#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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment