summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-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)) */