Skip to content

Instantly share code, notes, and snippets.

  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save KireinaHoro/141d27321b2aab27fa8292b1bd0f7105 to your computer and use it in GitHub Desktop.
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