+2005-07-01 Jim Meyering <jim@meyering.net>
+
+ * chown.c, cloexec.c, dup-safer.c, dup2.c, fsusage.c, getcwd.c:
+ * getloadavg.c, mountlist.c, openat.h, pagealign_alloc.c:
+ * save-cwd.c, tempname.c:
+ Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
+ and don't include <sys/file.h>).
+
2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
* xnanosleep.c: Include timespec.h, since OpenBSD 3.4 <time.h>
#include <stdbool.h>
#include <stddef.h>
-#if HAVE_FCNTL_H
-# include <fcntl.h> /* For AT_FDCWD on Solaris 9. */
-#endif
+#include <fcntl.h> /* For AT_FDCWD on Solaris 9. */
#ifndef __set_errno
# define __set_errno(val) (errno = (val))
# include <sys/dg_sys_info.h>
# endif
-# if defined (HAVE_FCNTL_H) || defined (_POSIX_VERSION)
-# include <fcntl.h>
-# else
-# include <sys/file.h>
-# endif
+# include <fcntl.h>
# include "unistd-safer.h"
\f