0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-09-22 08:31:32 +00:00
termux-packages/x11-packages/far2l/multiarc-src-formats-rar-unrar-os.hpp.patch
spvkgn ff72fa8ea3
addpkg(x11/far2l): FAR Manager v2 (#17379)
Co-authored-by: Jia Yuan Lo <jylo06g@gmail.com>
2023-07-28 19:20:52 +08:00

14 lines
482 B
Diff

diff --git a/multiarc/src/formats/rar/unrar/os.hpp b/multiarc/src/formats/rar/unrar/os.hpp
index 055993b..20baae5 100644
--- a/multiarc/src/formats/rar/unrar/os.hpp
+++ b/multiarc/src/formats/rar/unrar/os.hpp
@@ -177,7 +177,7 @@
#define SAVE_LINKS
#endif
-#if defined(__linux) || defined(__FreeBSD__) || defined(__DragonFly__)
+#if (defined(__linux) && !defined(__ANDROID__)) || defined(__FreeBSD__) || defined(__DragonFly__)
#include <sys/time.h>
#define USE_LUTIMES
#endif