feat: ports - git port
This commit is contained in:
@@ -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_ */
|
||||
Reference in New Issue
Block a user