From 09106ec02cdaec979e6178730e7c5e112ea6d368 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 7 Apr 2017 22:50:00 +0200 Subject: compat: support 3.16 --- src/compat/Kbuild.include | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/compat/Kbuild.include') 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 -- cgit v1.2.3-59-g8ed1b