projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Document some different function declarations on OSF/1 5.1.
[gnulib.git]
/
lib
/
progreloc.c
diff --git
a/lib/progreloc.c
b/lib/progreloc.c
index
19bbc12
..
d5e48cb
100644
(file)
--- a/
lib/progreloc.c
+++ b/
lib/progreloc.c
@@
-59,6
+59,10
@@
# include "xalloc.h"
#endif
+#ifndef O_EXEC
+# define O_EXEC O_RDONLY /* This is often close enough in older systems. */
+#endif
+
/* Declare canonicalize_file_name.
The <stdlib.h> included above may be the system's one, not the gnulib
one. */