diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:12:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:12:31 +0000 |
commit | b3f5400c4adb3b0093a891dcfb04aedf96e6b538 (patch) | |
tree | 1856f0f996db2497c208a6d049486b1950e81cff /libc-bottom-half | |
parent | Adding debian version 0.0~git20230621.7018e24-2. (diff) | |
download | wasi-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.h | 10 |
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 |