summaryrefslogtreecommitdiff
path: root/sysdep/linux
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/linux')
-rw-r--r--sysdep/linux/Makefile2
-rw-r--r--sysdep/linux/wireguard.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdep/linux/Makefile b/sysdep/linux/Makefile
index 188ac8de..12bb26c1 100644
--- a/sysdep/linux/Makefile
+++ b/sysdep/linux/Makefile
@@ -1,4 +1,4 @@
-src := netlink.c
+src := netlink.c wireguard.c
obj := $(src-o-files)
$(all-daemon)
$(conf-y-targets): $(s)netlink.Y
diff --git a/sysdep/linux/wireguard.h b/sysdep/linux/wireguard.h
index e7a1bbf0..d8965f75 100644
--- a/sysdep/linux/wireguard.h
+++ b/sysdep/linux/wireguard.h
@@ -6,7 +6,7 @@
#ifndef WIREGUARD_H
#define WIREGUARD_H
-#include <net/if.h>
+#include <linux/if.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <time.h>