0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-19 15:42:17 +00:00
termux-packages/packages/strace/bundled-linux-include-uapi-linux-in.h.patch
2022-08-13 20:30:46 +05:30

14 lines
283 B
Diff

--- a/bundled/linux/include/uapi/linux/in.h
+++ b/bundled/linux/include/uapi/linux/in.h
@@ -84,7 +84,9 @@
};
#endif
-#if __UAPI_DEF_IN_ADDR
+#ifdef __ANDROID__
+#include <bits/in_addr.h>
+#elif __UAPI_DEF_IN_ADDR
/* Internet address. */
struct in_addr {
__be32 s_addr;