about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/bits/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/bits/fcntl.h')
-rw-r--r--sysdeps/mach/hurd/bits/fcntl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/bits/fcntl.h b/sysdeps/mach/hurd/bits/fcntl.h
index 970f79b82d..c24a819e02 100644
--- a/sysdeps/mach/hurd/bits/fcntl.h
+++ b/sysdeps/mach/hurd/bits/fcntl.h
@@ -123,6 +123,10 @@
 # define O_CLOEXEC	0x00400000 /* Set FD_CLOEXEC.  */
 #endif
 
+#ifdef __USE_GNU
+# define O_TMPFILE	0x00800000 /* Make a new unnamed file.  */
+#endif
+
 
 /* Controlling terminal flags.  These are understood only by `open',
    and are not preserved once the file has been opened.  */