summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-13 23:47:41 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-13 23:47:41 +0000
commit7b9aaa1a8c4d6ddf9df6bda9d35d86389b36445d (patch)
tree7af1f0c1e0388e1158f3dc93cc8d5bc3c9e67956 /package/mac80211/patches
parentf21467f19d3b1dc6799d21ad550f0e4ea62bbee0 (diff)
package/mac80211: add a patch to fix package/carl9170 build failure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20848 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r--package/mac80211/patches/701-tracepoint_include_linux_version_h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/701-tracepoint_include_linux_version_h.patch b/package/mac80211/patches/701-tracepoint_include_linux_version_h.patch
new file mode 100644
index 000000000..55163317b
--- /dev/null
+++ b/package/mac80211/patches/701-tracepoint_include_linux_version_h.patch
@@ -0,0 +1,11 @@
+--- a/include/linux/tracepoint.h
++++ b/include/linux/tracepoint.h
+@@ -1,6 +1,8 @@
+ #ifndef _COMPAT_LINUX_TRACEPOINT_H
+ #define _COMPAT_LINUX_TRACEPOINT_H 1
+
++#include <linux/version.h>
++
+ #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27))
+ #include_next <linux/tracepoint.h>
+ #endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27)) */