diff --git a/src/unix/haiku/mod.rs b/src/unix/haiku/mod.rs
index 970efb3c3a04afea1cd2d017ac967e212e3db8c3..7df80652416008e5bbae9c293afea9651d09aae0 100644
--- a/src/unix/haiku/mod.rs
+++ b/src/unix/haiku/mod.rs
@@ -790,7 +790,7 @@ pub const IFF_AUTO_CONFIGURED: ::c_int = 0x2000;
 pub const IFF_CONFIGURING: ::c_int = 0x4000;
 pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast
 
-pub const AF_UNSEC: ::c_int = 0;
+pub const AF_UNSPEC: ::c_int = 0;
 pub const AF_INET: ::c_int = 1;
 pub const AF_APPLETALK: ::c_int = 2;
 pub const AF_ROUTE: ::c_int = 3;