Skip to content

Commit b24c588

Browse files
committed
haiku: add missing SOCK_SEQPACKET.
1 parent ab7925f commit b24c588

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/unix/haiku/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,6 @@ pub const IFF_LOOPBACK: ::c_int = 0x0008;
553553
pub const AF_UNIX: ::c_int = 9;
554554
pub const AF_INET: ::c_int = 1;
555555
pub const AF_INET6: ::c_int = 6;
556-
pub const SOCK_RAW: ::c_int = 3;
557556
pub const IP_MULTICAST_TTL: ::c_int = 10;
558557
pub const IP_MULTICAST_LOOP: ::c_int = 11;
559558
pub const IP_TTL: ::c_int = 4;
@@ -661,6 +660,8 @@ pub const RUSAGE_CHILDREN: ::c_int = -1;
661660

662661
pub const SOCK_STREAM: ::c_int = 1;
663662
pub const SOCK_DGRAM: ::c_int = 2;
663+
pub const SOCK_RAW: ::c_int = 3;
664+
pub const SOCK_SEQPACKET: ::c_int = 5;
664665

665666
pub const SOL_SOCKET: ::c_int = -1;
666667
pub const SO_ACCEPTCONN: ::c_int = 0x00000001;

0 commit comments

Comments
 (0)