summaryrefslogtreecommitdiffstats
path: root/libc-bottom-half/headers/public
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:12:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:12:32 +0000
commitcc81ad06aca18ec55eccf982c6365152ede51933 (patch)
tree8f4de8378dee0c744d37c20321ed115cdf94d27b /libc-bottom-half/headers/public
parentReleasing progress-linux version 0.0~git20230621.7018e24-2~progress7.99u1. (diff)
downloadwasi-libc-cc81ad06aca18ec55eccf982c6365152ede51933.tar.xz
wasi-libc-cc81ad06aca18ec55eccf982c6365152ede51933.zip
Merging upstream version 0.0~git20230821.ec4566b.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libc-bottom-half/headers/public')
-rw-r--r--libc-bottom-half/headers/public/__header_sys_socket.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/libc-bottom-half/headers/public/__header_sys_socket.h b/libc-bottom-half/headers/public/__header_sys_socket.h
index 77aaa1b..8ba4eff 100644
--- a/libc-bottom-half/headers/public/__header_sys_socket.h
+++ b/libc-bottom-half/headers/public/__header_sys_socket.h
@@ -25,9 +25,13 @@
#define SO_TYPE 3
-#define AF_UNSPEC 0
-#define AF_INET 1
-#define AF_INET6 2
+#define PF_UNSPEC 0
+#define PF_INET 1
+#define PF_INET6 2
+
+#define AF_UNSPEC PF_UNSPEC
+#define AF_INET PF_INET
+#define AF_INET6 PF_INET6
#define AF_UNIX 3
#ifdef __cplusplus