patch-src_linux_sysfs_c 507 B

12345678910111213141516171819
  1. --- libpciaccess-0.13.1.orig/src/linux_sysfs.c 2012-04-09 19:02:57.000000000 +0200
  2. +++ libpciaccess-0.13.1/src/linux_sysfs.c 2013-12-01 18:26:04.000000000 +0100
  3. @@ -34,6 +34,7 @@
  4. #define _GNU_SOURCE
  5. +#include <limits.h>
  6. #include <stdlib.h>
  7. #include <string.h>
  8. #include <stdio.h>
  9. @@ -45,7 +46,7 @@
  10. #include <dirent.h>
  11. #include <errno.h>
  12. -#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
  13. +#if defined(__i386__) || defined(__x86_64__)
  14. #include <sys/io.h>
  15. #else
  16. #define inb(x) -1