summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2025-06-29 06:07:23 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2025-06-29 06:07:52 -0700
commit30bfb03adfa88e94c9f81eacbd125f96a32432c0 (patch)
tree6104dedc47cd98e73d8a187190f8d8f6f7981036 /lib
parentbd04818e53be49f2a087de8a92cb02549f8c2407 (diff)
Update from Gnulib by running admin/merge-gnulib
Diffstat (limited to 'lib')
-rw-r--r--lib/open.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/open.c b/lib/open.c
index 8356c14f5b3..d76372fd603 100644
--- a/lib/open.c
+++ b/lib/open.c
@@ -55,6 +55,10 @@ orig_open (const char *filename, int flags, mode_t mode)
#include <sys/stat.h>
#include <unistd.h>
+#ifndef HAVE_WORKING_O_DIRECTORY
+# define HAVE_WORKING_O_DIRECTORY false
+#endif
+
#ifndef OPEN_TRAILING_SLASH_BUG
# define OPEN_TRAILING_SLASH_BUG false
#endif