summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-06-30 00:32:11 -0700
committerKhem Raj <raj.khem@gmail.com>2011-07-01 14:50:15 -0700
commitf87898ca4a7d4b7171779c06ff1f4848efeee431 (patch)
tree5d1c3ef78d8f93d6350516f4f2e5f31baf08f650 /include
parent50b6b440f9689db83a274978078fd7a14abd1b1d (diff)
mips/signalfd.h: SFD_NONBLOCK for mips is 0200 unlike 04000 commonly
Exposed by udev 171 which uses signalfd Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/sys/signalfd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sys/signalfd.h b/include/sys/signalfd.h
index 8cee17c5f..f1cb63a5c 100644
--- a/include/sys/signalfd.h
+++ b/include/sys/signalfd.h
@@ -64,6 +64,15 @@ enum
# define SFD_NONBLOCK SFD_NONBLOCK
};
+#elif defined __mips__
+enum
+ {
+ SFD_CLOEXEC = 02000000,
+# define SFD_CLOEXEC SFD_CLOEXEC
+ SFD_NONBLOCK = 0200
+# define SFD_NONBLOCK SFD_NONBLOCK
+ };
+
#else
enum
{