summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkolapapa <kolapapa@163.com>2020-07-01 12:14:33 +0800
committerkolapapa <kolapapa@163.com>2020-07-01 12:14:33 +0800
commitb672d88e53e7008cc29844654ebacf33f01c23eb (patch)
tree9be828efde654959f0c83ba6be79ab4a7fd5a086
parent4d0e2b367ecc8dba4c4dfb6ab9e7dcc7f9cc439d (diff)
downloadrust-libc-b672d88e53e7008cc29844654ebacf33f01c23eb.tar.gz
add uclibc `SOCK_RDM` field
-rw-r--r--src/unix/uclibc/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/uclibc/mod.rs b/src/unix/uclibc/mod.rs
index a68cb7a028..de09587983 100644
--- a/src/unix/uclibc/mod.rs
+++ b/src/unix/uclibc/mod.rs
@@ -870,6 +870,7 @@ pub const MSG_WAITFORONE: ::c_int = 0x10000;
pub const MSG_CMSG_CLOEXEC: ::c_int = 0x40000000;
pub const SOCK_RAW: ::c_int = 3;
+pub const SOCK_RDM: ::c_int = 4;
pub const IP_MULTICAST_TTL: ::c_int = 33;
pub const IP_MULTICAST_LOOP: ::c_int = 34;
pub const IP_TTL: ::c_int = 2;