projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
openat: Work around compilation error with OSF/1 5.1 DTK cc.
[gnulib.git]
/
lib
/
openat.h
diff --git
a/lib/openat.h
b/lib/openat.h
index
b26571f
..
fb4f4d8
100644
(file)
--- a/
lib/openat.h
+++ b/
lib/openat.h
@@
-19,7
+19,9
@@
#ifndef _GL_HEADER_OPENAT
#define _GL_HEADER_OPENAT
#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>
#include <sys/types.h>
#include <sys/stat.h>