--- rxtx-20100211/src/RawImp.c.orig 2015-08-12 13:42:08.002713951 +0200
+++ rxtx-20100211/src/RawImp.c 2015-08-12 13:42:33.152714451 +0200
@@ -100,8 +100,12 @@
# include <linux/version.h>
#endif
#ifndef __APPLE__ /* dima */
-#ifndef PPC
+#ifndef __PPC__
+#ifndef sparc
+#ifndef __aarch64__
#include <sys/io.h>
+#endif /* aarch64 */
+#endif /* sparc */
#endif /* PPC */
#endif /* dima */