summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/acx/files/acx-2.6.33.patch')
-rw-r--r--net-wireless/acx/files/acx-2.6.33.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-wireless/acx/files/acx-2.6.33.patch b/net-wireless/acx/files/acx-2.6.33.patch
new file mode 100644
index 000000000000..eb14b486f507
--- /dev/null
+++ b/net-wireless/acx/files/acx-2.6.33.patch
@@ -0,0 +1,16 @@
+diff -Nurp acx-20080210.orig/pci.c acx-20080210/pci.c
+--- acx-20080210.orig/pci.c 2010-02-28 14:09:55.000000000 +0000
++++ acx-20080210/pci.c 2010-02-28 14:13:09.000000000 +0000
+@@ -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>