summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/avr32
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/avr32')
-rw-r--r--libc/sysdeps/linux/avr32/bits/fcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/avr32/bits/fcntl.h b/libc/sysdeps/linux/avr32/bits/fcntl.h
index 2301e2241..767243ee5 100644
--- a/libc/sysdeps/linux/avr32/bits/fcntl.h
+++ b/libc/sysdeps/linux/avr32/bits/fcntl.h
@@ -30,6 +30,7 @@
# define O_DIRECTORY 00200000 /* direct disk access */
# define O_NOFOLLOW 00400000 /* don't follow links */
# define O_NOATIME 01000000 /* don't set atime */
+# define O_CLOEXEC 02000000 /* set close_on_exec */
#endif
#ifdef __USE_LARGEFILE64