aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-04-13 23:47:41 +0000
committerNicolas Thill <nico@openwrt.org>2010-04-13 23:47:41 +0000
commitdd6e635741c49e65516cb5a32b038d177d304982 (patch)
tree7af1f0c1e0388e1158f3dc93cc8d5bc3c9e67956
parentb8e0c7790d5968a3a5f8c14919cf12b29b4fd726 (diff)
downloadupstream-dd6e635741c49e65516cb5a32b038d177d304982.tar.gz
upstream-dd6e635741c49e65516cb5a32b038d177d304982.tar.bz2
upstream-dd6e635741c49e65516cb5a32b038d177d304982.zip
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
-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 0000000000..55163317bb
--- /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)) */