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.c
diff --git
a/lib/openat.c
b/lib/openat.c
index
cc4b9d0
..
0768b48
100644
(file)
--- a/
lib/openat.c
+++ b/
lib/openat.c
@@
-35,6
+35,10
@@
orig_openat (int fd, char const *filename, int flags, mode_t mode)
}
#endif
+/* Write "fcntl.h" here, not <fcntl.h>, otherwise OSF/1 5.1 DTK cc eliminates
+ this include because of the preliminary #include <fcntl.h> above. */
+#include "fcntl.h"
+
#include "openat.h"
#include <stdarg.h>