]>
Commit | Line | Data |
---|---|---|
09bc1992 | 1 | diff -uNr lm_sensors-2.6.4.orig/prog/dump/isadump.c lm_sensors-2.6.4/prog/dump/isadump.c |
2 | --- lm_sensors-2.6.4.orig/prog/dump/isadump.c Sat Oct 13 18:37:16 2001 | |
3 | +++ lm_sensors-2.6.4/prog/dump/isadump.c Sun Aug 25 13:32:57 2002 | |
4 | @@ -31,9 +31,10 @@ | |
5 | ||
6 | ||
7 | /* To keep glibc2 happy */ | |
8 | -#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0 | |
9 | +#if defined(__GLIBC__) && !defined(__powerpc__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0 | |
10 | #include <sys/io.h> | |
11 | #else | |
12 | +#define __KERNEL__ 1 | |
13 | #include <asm/io.h> | |
14 | #endif | |
15 |