feat: ports - git port

This commit is contained in:
2026-08-09 10:47:07 +02:00
parent cfb8d91442
commit 6f3cf99667
34 changed files with 2255 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
/*
* <arpa/inet.h> for the MontaukOS git port.
*
* inet_ntop/inet_pton are not declared here: the port builds with
* NO_INET_NTOP=1 / NO_INET_PTON=1, so git compiles its own portable versions
* (compat/inet_ntop.c, compat/inet_pton.c) and declares them itself in
* git-compat-util.h. Everything else an address needs comes from
* <netinet/in.h>.
*/
#ifndef _MONTAUK_GIT_ARPA_INET_H_
#define _MONTAUK_GIT_ARPA_INET_H_
#include <netinet/in.h>
in_addr_t inet_addr(const char *cp);
char *inet_ntoa(struct in_addr in);
#endif /* _MONTAUK_GIT_ARPA_INET_H_ */