Skip to content

Commit 45ba8c1

Browse files
author
Douman
committed
Add AF_UNSPEC from Apple socket.h
1 parent 8d8264b commit 45ba8c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,7 @@ pub const MINCORE_MODIFIED: ::c_int = 0x4;
819819
pub const MINCORE_REFERENCED_OTHER: ::c_int = 0x8;
820820
pub const MINCORE_MODIFIED_OTHER: ::c_int = 0x10;
821821

822+
pub const AF_UNSPEC: ::c_int = 0;
822823
pub const AF_UNIX: ::c_int = 1;
823824
pub const AF_INET: ::c_int = 2;
824825
pub const AF_INET6: ::c_int = 30;

0 commit comments

Comments
 (0)