summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/aarch64
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/aarch64')
-rw-r--r--libc/sysdeps/linux/aarch64/bits/fcntl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/aarch64/bits/fcntl.h b/libc/sysdeps/linux/aarch64/bits/fcntl.h
index 80657c008..27922f602 100644
--- a/libc/sysdeps/linux/aarch64/bits/fcntl.h
+++ b/libc/sysdeps/linux/aarch64/bits/fcntl.h
@@ -105,9 +105,9 @@
# define F_SETPIPE_SZ 1031 /* Set pipe page size array. */
# define F_GETPIPE_SZ 1032 /* Set pipe page size array. */
#endif
-#ifdef __USE_XOPEN2K8
+#if defined __USE_XOPEN2K8 || defined __USE_GNU
# define F_DUPFD_CLOEXEC 1030 /* Duplicate file descriptor with
- close-on-exit set. */
+ close-on-exit set on new fd. */
#endif
/* For F_[GET|SET]FD. */