From: Rich Felker Date: Thu, 10 Jan 2013 22:57:30 +0000 (-0500) Subject: fix another case of cloexec/nonblock flags not matching arch values X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=2dec29741b7d7024da8f4f1e03d309510834b28d fix another case of cloexec/nonblock flags not matching arch values --- diff --git a/include/sys/signalfd.h b/include/sys/signalfd.h index 297aac73..4f3d3999 100644 --- a/include/sys/signalfd.h +++ b/include/sys/signalfd.h @@ -6,13 +6,14 @@ extern "C" { #endif #include +#include #define __NEED_sigset_t #include -#define SFD_CLOEXEC 02000000 -#define SFD_NONBLOCK 04000 +#define SFD_CLOEXEC O_CLOEXEC +#define SFD_NONBLOCK O_NONBLOCK int signalfd(int, const sigset_t *, int);