+2011-09-07 Bruno Haible <bruno@clisp.org>
+
+ openat: Work around compilation error with OSF/1 5.1 DTK cc.
+ * lib/openat.h: Use different syntax for include of <fcntl.h>.
+
2011-09-05 Paul Eggert <eggert@cs.ucla.edu>
openat: port to AIX 7.1 with large files
#ifndef _GL_HEADER_OPENAT
#define _GL_HEADER_OPENAT
-#include <fcntl.h>
+/* Write "fcntl.h" here, not <fcntl.h>, otherwise OSF/1 5.1 DTK cc miscompiles
+ openat.c because that file has a preliminary #include <fcntl.h>. */
+#include "fcntl.h"
#include <sys/types.h>
#include <sys/stat.h>