From 0fac63b557411da51be201b7e60c78828b33866a Mon Sep 17 00:00:00 2001 From: hauke Date: Sun, 11 Jul 2010 19:00:23 +0000 Subject: kernel: fix build problems with recent kernel versions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22137 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/acx/patches/007-2.6.33_fixes.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 package/acx/patches/007-2.6.33_fixes.patch (limited to 'package/acx/patches/007-2.6.33_fixes.patch') 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 */ + #ifndef UTS_RELEASE ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) ++#include ++#else + #include + #endif ++#endif + + #include /* required for Lx 2.6.8 ?? */ + #include -- cgit v1.2.3