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/netdb.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/libc/include/netdb.h (limited to 'src/libc/include/netdb.h') diff --git a/src/libc/include/netdb.h b/src/libc/include/netdb.h new file mode 100644 index 0000000..c88221c --- /dev/null +++ b/src/libc/include/netdb.h @@ -0,0 +1,11 @@ +#pragma once + +struct hostent { + char *h_name; + char **h_aliases; + int h_addrtype; + int h_length; + char **h_addr_list; +}; + +struct hostent *gethostbyname(const char *name); -- cgit v1.2.3