Files
termux-packages/x11-packages/dosbox-x/src-libs-porttalk-porttalk.cpp.patch
termux-pacman-bot 909e67e2b9 new package: dosbox-x
2022-12-10 21:30:58 +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>