package/mac80211: add a patch to fix package/carl9170 build failure
authorNicolas Thill <nico@openwrt.org>
Tue, 13 Apr 2010 23:47:41 +0000 (23:47 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 13 Apr 2010 23:47:41 +0000 (23:47 +0000)
SVN-Revision: 20848

package/mac80211/patches/701-tracepoint_include_linux_version_h.patch [new file with mode: 0644]

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 (file)
index 0000000..5516331
--- /dev/null
@@ -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)) */