/* * Minimal for the MontaukOS NetSurf port. * Only the address structures urldb.c and utils.c use for IP-literal parsing. */ #ifndef _MONTAUK_COMPAT_NETINET_IN_H_ #define _MONTAUK_COMPAT_NETINET_IN_H_ #include struct in_addr { uint32_t s_addr; }; struct in6_addr { uint8_t s6_addr[16]; }; #define INET_ADDRSTRLEN 16 #define INET6_ADDRSTRLEN 46 #endif