diff --git a/bsd/porting/netport.h b/bsd/porting/netport.h index 9354640379ab976b276afb60442ba38bc684d02d..bd9cc7553c187b6b99eb749fc2b24010d31e43a8 100644 --- a/bsd/porting/netport.h +++ b/bsd/porting/netport.h @@ -176,6 +176,17 @@ typedef uintptr_t __uintptr_t; #undef INVARIANTS #endif + +#undef htonl +#undef htons +#undef ntohl +#undef ntohs +uint32_t htonl(uint32_t); +uint16_t htons(uint16_t); +uint32_t ntohl(uint32_t); +uint16_t ntohs(uint16_t); + + struct malloc_type { int unused; };