Skip to content

Commit 9352a2f

Browse files
authored
Merge pull request #1749 from nielx/fix/AF_UNSPEC
Haiku: fix name of AF_UNSPEC
2 parents 3218423 + 080a57f commit 9352a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/haiku/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ pub const IFF_AUTO_CONFIGURED: ::c_int = 0x2000;
790790
pub const IFF_CONFIGURING: ::c_int = 0x4000;
791791
pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast
792792

793-
pub const AF_UNSEC: ::c_int = 0;
793+
pub const AF_UNSPEC: ::c_int = 0;
794794
pub const AF_INET: ::c_int = 1;
795795
pub const AF_APPLETALK: ::c_int = 2;
796796
pub const AF_ROUTE: ::c_int = 3;

0 commit comments

Comments
 (0)