void-packages/srcpkgs/libpciaccess/patches/fix-arm.patch

12 lines
264 B
Diff

--- src/linux_sysfs.c
+++ 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