Instantly share code, notes, and snippets.

Embed
What would you like to do?
Patch for Bionic headers for missing definition
--- arpa/inet.h.old 2018-07-25 00:19:42.423809828 +0800
+++ arpa/inet.h 2018-07-25 00:18:14.071813451 +0800
@@ -36,6 +36,8 @@
__BEGIN_DECLS
+typedef uint32_t in_addr_t;
+
in_addr_t inet_addr(const char* __s);
int inet_aton(const char* __s, struct in_addr* __addr);
in_addr_t inet_lnaof(struct in_addr __addr) __INTRODUCED_IN(21);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment