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 | 26711fdc8922df06123f2431e7cd9a27cdc2388a (patch) | |
tree | 4f9e0d646d4b1bb6821b8b7670b1bd1b280925bd /libc-bottom-half | |
parent | Adding upstream version 0.0~git20230621.7018e24. (diff) | |
download | wasi-libc-26711fdc8922df06123f2431e7cd9a27cdc2388a.tar.xz wasi-libc-26711fdc8922df06123f2431e7cd9a27cdc2388a.zip |
Adding upstream version 0.0~git20230821.ec4566b.upstream/0.0_git20230821.ec4566b
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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 |