summaryrefslogtreecommitdiff
path: root/dev-java/rxtx/files/rxtx-2.1-7r2-ppcioh.diff
blob: 2f3f5d623ca97248b8ac823a72913e69a85ffaff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/RawImp.c b/src/RawImp.c
index 077f30e..813fcf9 100644
--- a/src/RawImp.c
+++ b/src/RawImp.c
@@ -99,10 +99,8 @@
 #	include <linux/serial.h>
 #	include <linux/version.h>
 #endif
-#ifndef __APPLE__  /* dima */
-#ifndef PPC
+#if !defined(__APPLE__) && !defined(PPC) && !defined(__powerpc__) && !defined(__powerpc64__)  /* dima */
 #include <sys/io.h>
-#endif /* PPC */
 #endif /* dima */
 
 extern int errno;