diff options
Diffstat (limited to 'libc/include/netinet/in.h')
-rw-r--r-- | libc/include/netinet/in.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/include/netinet/in.h b/libc/include/netinet/in.h index 77ae506..0ebd926 100644 --- a/libc/include/netinet/in.h +++ b/libc/include/netinet/in.h @@ -32,6 +32,7 @@ #include <linux/socket.h> #include <linux/in.h> #include <linux/in6.h> +#include <netinet/in6.h> __BEGIN_DECLS @@ -39,6 +40,9 @@ __BEGIN_DECLS extern int bindresvport (int sd, struct sockaddr_in *sin); +static const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT; +static const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT; + __END_DECLS #endif /* _NETINET_IN_H_ */ |