about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-13 19:02:57 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-13 19:02:57 -0500
commitf38c154be257835d6d5112c2f92c4a4c8bed91cc (patch)
treeef7464696b15df2b3f07eba28a59f8ddbdc15ba2
parentdc3776d445957cd3ea4a682db518701b93d34292 (diff)
downloadmusl-f38c154be257835d6d5112c2f92c4a4c8bed91cc.tar.gz
musl-f38c154be257835d6d5112c2f92c4a4c8bed91cc.tar.xz
musl-f38c154be257835d6d5112c2f92c4a4c8bed91cc.zip
added missing O_NDELAY
-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