aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-14 20:16:04 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-14 20:16:04 +0200
commitf5bf84daf9969749cea597cfc98a325d058383ae (patch)
tree58641f3eff72a373b496c07f0b36a14242d74c4c
parentwg-quick: add wg symlink (diff)
downloadwireguard-monolithic-historical-f5bf84daf9969749cea597cfc98a325d058383ae.tar.xz
wireguard-monolithic-historical-f5bf84daf9969749cea597cfc98a325d058383ae.zip
compat: backport for OpenSUSE 15
-rw-r--r--src/compat/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 27f22b3..e077188 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -580,7 +580,7 @@ struct _____dummy_container { char dev; };
#define genl_dump_check_consistent(a, b) genl_dump_check_consistent(a, b, &genl_family)
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 13, 0) && !defined(ISRHEL7)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 13, 0) && !defined(ISRHEL7) && !defined(ISOPENSUSE15)
static inline void *skb_put_data(struct sk_buff *skb, const void *data, unsigned int len)
{
void *tmp = skb_put(skb, len);