Browse Source

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>
Khem Raj 13 years ago
parent
commit
f87898ca4a
1 changed files with 9 additions and 0 deletions
  1. 9 0
      include/sys/signalfd.h

+ 9 - 0
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
   {