diff options
Diffstat (limited to 'package/acx/patches')
-rw-r--r-- | package/acx/patches/007-2.6.33_fixes.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/acx/patches/007-2.6.33_fixes.patch b/package/acx/patches/007-2.6.33_fixes.patch new file mode 100644 index 000000000..338b1c66f --- /dev/null +++ b/package/acx/patches/007-2.6.33_fixes.patch @@ -0,0 +1,15 @@ +--- a/pci.c ++++ b/pci.c +@@ -35,8 +35,12 @@ + + /* Linux 2.6.18+ uses <linux/utsrelease.h> */ + #ifndef UTS_RELEASE ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) ++#include <generated/utsrelease.h> ++#else + #include <linux/utsrelease.h> + #endif ++#endif + + #include <linux/compiler.h> /* required for Lx 2.6.8 ?? */ + #include <linux/kernel.h> |