From 4e1a6f1b3c543b9fbeb882a9e97551f7c58ca65a Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 25 Dec 2023 18:36:02 +0100 Subject: ports: curl :^) had to do a lot of hacky stuff, but it's there. worked on this on and off for a while now --- src/libc/include/arpa/inet.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/libc/include/arpa/inet.h (limited to 'src/libc/include/arpa') diff --git a/src/libc/include/arpa/inet.h b/src/libc/include/arpa/inet.h new file mode 100644 index 0000000..d372467 --- /dev/null +++ b/src/libc/include/arpa/inet.h @@ -0,0 +1,8 @@ +#pragma once +#include + +uint32_t htonl(uint32_t n); +uint16_t htons(uint16_t n); + +uint32_t ntohl(uint32_t n); +uint16_t ntohs(uint16_t n); -- cgit v1.2.3