]>
Commit | Line | Data |
---|---|---|
47ab3315 KK |
1 | --- detect/src/SuperProbe/Utils.c Fri Aug 11 10:07:52 2000 |
2 | +++ detect-patched/src/SuperProbe/Utils.c Thu May 10 19:29:34 2001 | |
3 | @@ -32,6 +32,11 @@ | |
4 | #if !defined(__PPC__) && !defined(__alpha__) | |
5 | #include "AsmMacros.h" | |
6 | #else | |
7 | +/* io.h in 2.4 kernel does not define anything without this - PPC */ | |
8 | +#include <linux/version.h> | |
9 | +#if !(LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)) | |
10 | +#define __KERNEL__ | |
11 | +#endif | |
12 | #include <asm/io.h> | |
13 | unsigned long isa_io_base; | |
14 | #endif |