]> git.pld-linux.org Git - packages/detect.git/blob - detect-kver-ppc.patch
- updated gettext BR
[packages/detect.git] / detect-kver-ppc.patch
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
This page took 0.107924 seconds and 3 git commands to generate.