fix another case of cloexec/nonblock flags not matching arch values

This commit is contained in:
Rich Felker 2013-01-10 17:57:30 -05:00
parent 6468fc9e37
commit 2dec29741b
1 changed files with 3 additions and 2 deletions

View File

@ -6,13 +6,14 @@ extern "C" {
#endif
#include <stdint.h>
#include <fcntl.h>
#define __NEED_sigset_t
#include <bits/alltypes.h>
#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);