diff options
author | Johannes Berg <johannes.berg@intel.com> | 2018-10-02 21:09:54 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-10-02 21:10:36 +0200 |
commit | accce7fcc5df96d9fa5431aad86d66e830119d30 (patch) | |
tree | e6ae5d7a25e28c92943912fe1efb4b65302feb6f | |
parent | bd7804487bd6a9aad3cbe939bcaa44fbffcaa869 (diff) |
backports: add missing include in 3.13 compat code
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 <johannes.berg@intel.com>
-rw-r--r-- | backport/compat/backport-3.13.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backport/compat/backport-3.13.c b/backport/compat/backport-3.13.c index 9e5076fb..c33a0443 100644 --- a/backport/compat/backport-3.13.c +++ b/backport/compat/backport-3.13.c @@ -16,6 +16,7 @@ #include <linux/pci.h> #include <linux/device.h> #include <linux/hwmon.h> +#include <linux/net.h> /************* generic netlink backport *****************/ #if RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(7,0) |