Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From b6df5202306bd71158b482f25ca2e6919645d4dd Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 4 Jun 2015 20:55:06 -0700 |
| 4 | Subject: [PATCH 4/4] Don't include sys/io.h on arm |
| 5 | |
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 7 | --- |
| 8 | Upstream-Status: Pending |
| 9 | |
| 10 | src/linux_sysfs.c | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c |
| 14 | index 3f95e53..1e3aad3 100644 |
| 15 | --- a/src/linux_sysfs.c |
| 16 | +++ b/src/linux_sysfs.c |
| 17 | @@ -50,7 +50,7 @@ |
| 18 | #include <dirent.h> |
| 19 | #include <errno.h> |
| 20 | |
| 21 | -#if defined(__i386__) || defined(__x86_64__) || defined(__arm__) |
| 22 | +#if defined(__i386__) || defined(__x86_64__) |
| 23 | #include <sys/io.h> |
| 24 | #else |
| 25 | #define inb(x) -1 |
| 26 | -- |
| 27 | 2.1.4 |
| 28 | |