aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/Kbuild.include
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-04-07 22:50:00 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-04-09 05:20:27 +0200
commit09106ec02cdaec979e6178730e7c5e112ea6d368 (patch)
tree09bb6ed2768b39dfa79278d52d61edf8da8403bd /src/compat/Kbuild.include
parentdata: alloca is actually as dangerous as they say (diff)
downloadwireguard-monolithic-historical-09106ec02cdaec979e6178730e7c5e112ea6d368.tar.xz
wireguard-monolithic-historical-09106ec02cdaec979e6178730e7c5e112ea6d368.zip
compat: support 3.16
Diffstat (limited to 'src/compat/Kbuild.include')
-rw-r--r--src/compat/Kbuild.include5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include
index ceffb84..ebd5aaf 100644
--- a/src/compat/Kbuild.include
+++ b/src/compat/Kbuild.include
@@ -17,3 +17,8 @@ endif
ifeq ($(wildcard $(srctree)/arch/x86/include/asm/fpu/api.h),)
ccflags-y += -I$(src)/compat/i387/include
endif
+
+ifeq ($(wildcard $(srctree)/include/net/udp_tunnel.h),)
+ccflags-y += -I$(src)/compat/udp_tunnel/include
+wireguard-y += compat/udp_tunnel/udp_tunnel.o
+endif