LibC: Add in6addr_{any,loopback} definitions
This commit is contained in:
parent
31e411f8f1
commit
52309e0754
|
@ -20,6 +20,7 @@ set(LIBC_SOURCES
|
|||
malloc.cpp
|
||||
math.cpp
|
||||
netdb.cpp
|
||||
netinet/in.cpp
|
||||
poll.cpp
|
||||
printf_impl.cpp
|
||||
pthread.cpp
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#include <netinet/in.h>
|
||||
|
||||
const struct in6_addr in6addr_any = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
|
||||
const struct in6_addr in6addr_loopback = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 };
|
Loading…
Reference in New Issue