summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
{