summaryrefslogtreecommitdiff
path: root/user/libpciaccess/fix-arm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/libpciaccess/fix-arm.patch')
-rw-r--r--user/libpciaccess/fix-arm.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/libpciaccess/fix-arm.patch b/user/libpciaccess/fix-arm.patch
new file mode 100644
index 000000000..4a59ae906
--- /dev/null
+++ b/user/libpciaccess/fix-arm.patch
@@ -0,0 +1,11 @@
+--- libpciaccess-0.13.2.orig/src/linux_sysfs.c
++++ libpciaccess-0.13.2/src/linux_sysfs.c
+@@ -46,7 +46,7 @@
+ #include <errno.h>
+ #include <limits.h>
+
+-#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
++#if defined(__i386__) || defined(__x86_64__)
+ #include <sys/io.h>
+ #else
+ #define inb(x) -1