* lib/progreloc.c (O_EXEC): Define fallback.
+2010-09-10 Bruno Haible <bruno@clisp.org>
+
+ relocatable-prog-wrapper: Fix compilation failure due to O_EXEC.
+ * lib/progreloc.c (O_EXEC): Define fallback.
+
2010-09-10 Paul Eggert <eggert@cs.ucla.edu>
fcntl-h: define O_CLOEXEC and O_EXEC if not defined; use new defines
# 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. */