about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--include/bits/fcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bits/fcntl.h b/include/bits/fcntl.h
index 550152fd..802c3d14 100644
--- a/include/bits/fcntl.h
+++ b/include/bits/fcntl.h
@@ -15,6 +15,7 @@
 #define O_CLOEXEC  02000000
 
 #ifdef _GNU_SOURCE
+#define O_NDELAY O_NONBLOCK
 #define O_ASYNC      020000
 #define O_DIRECT     040000
 #define O_NOATIME  01000000