summaryrefslogtreecommitdiff
path: root/src/sys/socket/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/socket/mod.rs')
-rw-r--r--src/sys/socket/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sys/socket/mod.rs b/src/sys/socket/mod.rs
index 69b05d71..73cab9d5 100644
--- a/src/sys/socket/mod.rs
+++ b/src/sys/socket/mod.rs
@@ -64,9 +64,9 @@ pub enum SockType {
// Extra flags - Supported by Linux 2.6.27, normalized on other platforms
bitflags!(
- pub flags SockFlag: c_int {
- const SOCK_NONBLOCK = 0o0004000,
- const SOCK_CLOEXEC = 0o2000000
+ pub struct SockFlag: c_int {
+ const SOCK_NONBLOCK = 0o0004000;
+ const SOCK_CLOEXEC = 0o2000000;
}
);