From: Johannes Berg <johannes.berg@xxxxxxxxx> compat/compat-3.3.c:172:1: warning: data definition has no type or storage class [enabled by default] compat/compat-3.3.c:172:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’ [-Wimplicit-int] compat/compat-3.3.c:172:1: warning: parameter names (without types) in function declaration [enabled by default] In newer kernels we should include export.h, but not all kernels have that so use module.h which always works. Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- compat/compat-3.3.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/compat/compat-3.3.c b/compat/compat-3.3.c index 27c09e0..8489344 100644 --- a/compat/compat-3.3.c +++ b/compat/compat-3.3.c @@ -11,6 +11,7 @@ #include <linux/kernel.h> #include <linux/version.h> #include <linux/skbuff.h> +#include <linux/module.h> #include <net/dst.h> #include <net/xfrm.h> -- 1.7.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html