summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/libc/include/sys/_default_fcntl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/_default_fcntl.h b/newlib/libc/include/sys/_default_fcntl.h
index 0647e590f..b3177dd69 100644
--- a/newlib/libc/include/sys/_default_fcntl.h
+++ b/newlib/libc/include/sys/_default_fcntl.h
@@ -166,8 +166,10 @@ extern "C" {
#define AT_SYMLINK_NOFOLLOW 2
#define AT_SYMLINK_FOLLOW 4
#define AT_REMOVEDIR 8
+#if __GNU_VISIBLE
#define AT_EMPTY_PATH 16
#endif
+#endif
#if __BSD_VISIBLE
/* lock operations for flock(2) */