aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-07-03 21:55:00 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-07-03 21:55:00 +0200
commit066ddc75ca8c90e9d8087a1f5efd05af3a82071b (patch)
treeef38e6a040921a6854717206feb77c215c53fef6
parentcompat: support OpenSUSE's backports (diff)
downloadwireguard-monolithic-historical-066ddc75ca8c90e9d8087a1f5efd05af3a82071b.tar.xz
wireguard-monolithic-historical-066ddc75ca8c90e9d8087a1f5efd05af3a82071b.zip
compat: workaround Ubuntu 16.10 kernel weirdness
-rw-r--r--src/compat/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 539b4bf..1da51f1 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -304,6 +304,7 @@ static inline u64 ktime_get_ns(void)
#if IS_ENABLED(CONFIG_NF_CONNTRACK)
#include <linux/ip.h>
#include <linux/icmpv6.h>
+#include <net/ipv6.h>
#include <net/icmp.h>
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_nat_core.h>