summaryrefslogtreecommitdiffstats
path: root/libc-bottom-half
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:12:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:12:31 +0000
commitb3f5400c4adb3b0093a891dcfb04aedf96e6b538 (patch)
tree1856f0f996db2497c208a6d049486b1950e81cff /libc-bottom-half
parentAdding debian version 0.0~git20230621.7018e24-2. (diff)
downloadwasi-libc-b3f5400c4adb3b0093a891dcfb04aedf96e6b538.tar.xz
wasi-libc-b3f5400c4adb3b0093a891dcfb04aedf96e6b538.zip
Merging upstream version 0.0~git20230821.ec4566b.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libc-bottom-half')
-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