summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kazmin <a.kazmin@partner.samsung.com>2019-12-17 15:28:54 +0300
committerAndrey Kazmin <a.kazmin@partner.samsung.com>2019-12-17 15:28:54 +0300
commit1d7da00007d28d4504a276d93166e9298dcf7132 (patch)
tree40930f0f7c40514972b67b96eba5152880e00c1f
parentf6e03c6b9618fbcb87452d6d83fcb9a7ba6ff1a8 (diff)
downloadlibpciaccess-sandbox/akazmin/tizen_6.0_build.tar.gz
libpciaccess-sandbox/akazmin/tizen_6.0_build.tar.bz2
libpciaccess-sandbox/akazmin/tizen_6.0_build.zip
Removed include sys/io.h for arm builds.sandbox/akazmin/tizen_6.0_build
IO ports access is no longer supported by glibc for arm. See glibc commit: 6b33f373c7b9199e00ba5fbafd94ac9bfb4337b1 Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
-rw-r--r--src/linux_sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c
index ce6f295..8ab1c72 100644
--- a/src/linux_sysfs.c
+++ b/src/linux_sysfs.c
@@ -45,7 +45,7 @@
#include <dirent.h>
#include <errno.h>
-#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
+#if defined(__i386__) || defined(__x86_64__)
#include <sys/io.h>
#else
#define inb(x) -1