fix the inet_pton test of the os-test test suite

This commit is contained in:
sourceturner
2026-05-25 18:27:13 +02:00
parent 3cdd418f53
commit 17b2866d7e
4 changed files with 4 additions and 1 deletions
+1
View File
@@ -168,6 +168,7 @@ pub const MCAST_LEAVE_SOURCE_GROUP: c_int = 47;
/// Internet domain sockets for use with IPv4 sockets.
pub const AF_INET: c_int = 2;
/// Internet domain sockets for use with IPv6 sockets.
#[cfg(feature = "ip6")]
pub const AF_INET6: c_int = 10;
/// Non-POSIX, see <https://www.man7.org/linux/man-pages/man7/unix.7.html>.
///