Skip to content

Commit 59bba7b

Browse files
committed
Add AF_VSOCK to uclibc
1 parent 987e6ef commit 59bba7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/unix/linux_like/linux/uclibc/mips/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ pub const O_NDELAY: ::c_int = 0x80;
6565

6666
pub const SOCK_NONBLOCK: ::c_int = 128;
6767

68-
pub const AF_VSOCK: ::c_int = 40;
69-
7068
pub const EDEADLK: ::c_int = 45;
7169
pub const ENAMETOOLONG: ::c_int = 78;
7270
pub const ENOLCK: ::c_int = 46;

src/unix/linux_like/linux/uclibc/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ pub const MCL_FUTURE: ::c_int = 0x0002;
4141

4242
pub const SIGEV_THREAD_ID: ::c_int = 4;
4343

44+
pub const AF_VSOCK: ::c_int = 40;
45+
4446
pub const ADFS_SUPER_MAGIC: ::c_long = 0x0000adf5;
4547
pub const AFFS_SUPER_MAGIC: ::c_long = 0x0000adff;
4648
pub const AFS_SUPER_MAGIC: ::c_long = 0x5346414f;

0 commit comments

Comments
 (0)