diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-09-11 16:50:19 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-09-11 16:50:19 +0200 |
commit | e09b2d34a2ace3cc9034c539ba15c712f6979460 (patch) | |
tree | c6943bc7b80e076694ed7a10f908f9bea7ce9f97 /patches | |
parent | 9c47649c86140c8b2cee20b399200228e114bfa1 (diff) |
patches: include export.h in lib/refcount.c
This isn't automatically included in all kernels, include
it explicitly.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/lib-refcount.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/lib-refcount.patch b/patches/lib-refcount.patch new file mode 100644 index 00000000..dc884f06 --- /dev/null +++ b/patches/lib-refcount.patch @@ -0,0 +1,12 @@ +diff --git a/compat/lib-refcount.c b/compat/lib-refcount.c +index 5d0582a..8d108f9 100644 +--- a/compat/lib-refcount.c ++++ b/compat/lib-refcount.c +@@ -36,6 +36,7 @@ + + #include <linux/refcount.h> + #include <linux/bug.h> ++#include <linux/export.h> + + #ifdef CONFIG_REFCOUNT_FULL + |