diff options
Diffstat (limited to 'src/libc/include/arpa')
-rw-r--r-- | src/libc/include/arpa/inet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libc/include/arpa/inet.h b/src/libc/include/arpa/inet.h index d372467..1e4f97e 100644 --- a/src/libc/include/arpa/inet.h +++ b/src/libc/include/arpa/inet.h @@ -1,4 +1,5 @@ #pragma once +#include <netinet/in.h> #include <stdint.h> uint32_t htonl(uint32_t n); @@ -6,3 +7,5 @@ uint16_t htons(uint16_t n); uint32_t ntohl(uint32_t n); uint16_t ntohs(uint16_t n); + +int inet_aton(const char *s, struct in_addr *dest); |