summaryrefslogtreecommitdiff
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-04-02 00:27:38 +0200
commit373c12d8bc55d57143d53d6f99d7b5452d440ad9 (patch)
tree16e02dd491187e4a0b1ab7cb52fdd24c8d35cbe5
parent22dd12f13a2505d9202bc4333513874f878b0a72 (diff)
wireguard-lib: Update import
-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>