summaryrefslogtreecommitdiff
path: root/sysdep/linux
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2018-09-28 01:08:51 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2019-02-28 00:46:32 +0100
commit52c1ba3f96a9958a1ba79bbda6558e83ac633bc0 (patch)
tree528c95274aba5d5272470ca959b26d44b9b167d4 /sysdep/linux
parente673eba119a1cdeaa6bfc69f954dc2ccfb521f63 (diff)
wg: Update importold/wireguard-lib
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>