Skip to content

Commit

Permalink
Add AF_VSOCK to uclibc
Browse files Browse the repository at this point in the history
  • Loading branch information
kolapapa committed Jun 10, 2021
1 parent 987e6ef commit 59bba7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/unix/linux_like/linux/uclibc/mips/mod.rs
Expand Up @@ -65,8 +65,6 @@ pub const O_NDELAY: ::c_int = 0x80;

pub const SOCK_NONBLOCK: ::c_int = 128;

pub const AF_VSOCK: ::c_int = 40;

pub const EDEADLK: ::c_int = 45;
pub const ENAMETOOLONG: ::c_int = 78;
pub const ENOLCK: ::c_int = 46;
Expand Down
2 changes: 2 additions & 0 deletions src/unix/linux_like/linux/uclibc/mod.rs
Expand Up @@ -41,6 +41,8 @@ pub const MCL_FUTURE: ::c_int = 0x0002;

pub const SIGEV_THREAD_ID: ::c_int = 4;

pub const AF_VSOCK: ::c_int = 40;

pub const ADFS_SUPER_MAGIC: ::c_long = 0x0000adf5;
pub const AFFS_SUPER_MAGIC: ::c_long = 0x0000adff;
pub const AFS_SUPER_MAGIC: ::c_long = 0x5346414f;
Expand Down

0 comments on commit 59bba7b

Please sign in to comment.