aboutsummaryrefslogtreecommitdiffstats
path: root/main/pciutils/fix-headers.patch
blob: 94c805e6d57e7852c35f1dc912ea83e468de479e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- pciutils-3.2.0.orig/lib/i386-io-linux.h
+++ pciutils-3.2.0/lib/i386-io-linux.h
@@ -6,11 +6,7 @@
  *	Can be freely distributed and used under the terms of the GNU GPL.
  */
 
-#ifdef __GLIBC__
 #include <sys/io.h>
-#else
-#include <asm/io.h>
-#endif
 
 static int
 intel_setup_io(struct pci_access *a UNUSED)
Only in pciutils-3.2.0: lib/i386-ports.o
Only in pciutils-3.2.0: lib/libpci.a
--- pciutils-3.2.0.orig/lib/pread.h
+++ pciutils-3.2.0/lib/pread.h
@@ -12,7 +12,7 @@
  *  don't define it.
  */
 
-#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ > 0
+#if 1 || defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ > 0
 /* glibc 2.1 or newer -> pread/pwrite supported automatically */
 
 #elif defined(i386) && defined(__GLIBC__)