0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 07:28:57 +00:00
termux-packages/x11-packages/dosbox-x/src-libs-porttalk-porttalk.cpp.patch
2022-12-10 21:04:54 +00:00

12 lines
306 B
Diff

--- a/src/libs/porttalk/porttalk.cpp
+++ b/src/libs/porttalk/porttalk.cpp
@@ -236,7 +236,7 @@
}
#endif
-#ifdef LINUX
+#if defined LINUX && !defined __ANDROID__
# if defined(__i386__) || defined(__amd64__) || defined(__x86_64__)
// This Linux ioperm only works up to port 0x3FF
#include <sys/perm.h>