backports: add missing include in 3.13 compat code
PATCH 1/1 backports: add missing include in 3.13 compat code
From: Johannes Berg <[email protected]>
If we don't include <linux/net.h> then __BACKPORT_NET_GET_RANDOM_ONCE can never be defined, and we'll never get the compat code. Fix that.
Signed-off-by Johannes Berg <[email protected]>
--- backport/compat/backport-3.13.c | 1 + 1 file changed, 1 insertion(+)
backport/compat/backport-3.13.c +1 -0
@@ -15,6 +15,7 @@#include <linux/pci.h> #include <linux/device.h> #include <linux/hwmon.h> +#include <linux/net.h> #ifdef __BACKPORT_NET_GET_RANDOM_ONCE struct __net_random_once_work {
Signature · 4 lines
2.14.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in