0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/libarchive/bsdunzip_platform.h.patch
2023-07-19 10:22:51 +08:00

14 lines
295 B
Diff

--- a/unzip/bsdunzip_platform.h
+++ b/unzip/bsdunzip_platform.h
@@ -70,6 +70,10 @@
int optreset;
#endif
+#ifdef __ANDROID__
+#include <getopt.h>
+#endif
+
/* How to mark functions that don't return. */
/* This facilitates use of some newer static code analysis tools. */
#undef __LA_DEAD