diff -Naur dosbox-x-dosbox-x-wip-20180513-1316/src/libs/porttalk/porttalk.cpp dosbox-x-dosbox-x-wip-20180513-1316-porttalk-fix/src/libs/porttalk/porttalk.cpp
--- dosbox-x-dosbox-x-wip-20180513-1316/src/libs/porttalk/porttalk.cpp	2018-05-13 19:52:17.000000000 +0000
+++ dosbox-x-dosbox-x-wip-20180513-1316-porttalk-fix/src/libs/porttalk/porttalk.cpp	2018-05-16 12:40:17.232921780 +0000
@@ -233,7 +233,11 @@
 #ifdef LINUX
 # if defined(__i386__) || defined(__amd64__) || defined(__x86_64__)
 // This Linux ioperm only works up to port 0x3FF
+#if (__GNU_LIBRARY__ >= 6)
 #include <sys/perm.h>
+#elif defined(__linux__) && !defined(__GLIBC__)
+#include <sys/io.h>
+#endif
 
 bool initPorttalk() {
 	if(ioperm(0x3da,1,1) < 0) return false;