aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-06-10 22:28:48 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2022-06-10 23:37:49 +0200
commitccf37db6e6b983bafcd7a6a7abd7e066026b388f (patch)
tree659e5cdcad04edd1ac758d0946b10b3416cb00c6 /src
parentversion: bump (diff)
downloadwireguard-freebsd-ccf37db6e6b983bafcd7a6a7abd7e066026b388f.tar.xz
wireguard-freebsd-ccf37db6e6b983bafcd7a6a7abd7e066026b388f.zip
build: include compat.h for all files
54b2075 ("build: only include compat.h for if_wg.c and fix build with an obj directory") scoped compat.h to if_wg.c, which broke building on 12.3. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 768aabb..392bd7f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -6,6 +6,6 @@ SRCS= opt_inet.h opt_inet6.h device_if.h bus_if.h ifdi_if.h
SRCS+= if_wg.c wg_noise.c wg_cookie.c crypto.c
-CFLAGS.if_wg.c+= -include ${.CURDIR}/compat.h
+CFLAGS+= -include ${.CURDIR}/compat.h
.include <bsd.kmod.mk>