summaryrefslogtreecommitdiff
path: root/src/sys/signalfd.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/signalfd.rs')
-rw-r--r--src/sys/signalfd.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sys/signalfd.rs b/src/sys/signalfd.rs
index e11a0b9a..a3dfb6be 100644
--- a/src/sys/signalfd.rs
+++ b/src/sys/signalfd.rs
@@ -25,10 +25,10 @@ use std::os::unix::io::{RawFd, AsRawFd};
use std::mem;
-bitflags!{
+libc_bitflags!{
pub flags SfdFlags: libc::c_int {
- const SFD_NONBLOCK = libc::SFD_NONBLOCK,
- const SFD_CLOEXEC = libc::SFD_CLOEXEC,
+ SFD_NONBLOCK,
+ SFD_CLOEXEC,
}
}