summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJames Tucker <jftucker@gmail.com>2017-01-08 11:52:21 -0800
committerJason A. Donenfeld <Jason@zx2c4.com>2017-01-10 05:36:40 +0100
commitbe764fdfec60882fe8dcfbf1c9a82eb986cd7b5c (patch)
tree9f88726047dab4b8016635b12ce67f62f66531df
parenttools: wg-quick: enforce good permissions (diff)
downloadwireguard-monolithic-historical-be764fdfec60882fe8dcfbf1c9a82eb986cd7b5c.tar.xz
wireguard-monolithic-historical-be764fdfec60882fe8dcfbf1c9a82eb986cd7b5c.zip
uapi: add missing userspace headers
Signed-off-by: James Tucker <jftucker@gmail.com>
-rw-r--r--src/uapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uapi.h b/src/uapi.h
index b139d43..cd4b86b 100644
--- a/src/uapi.h
+++ b/src/uapi.h
@@ -77,6 +77,8 @@ typedef int32_t __s32;
#include <linux/time.h>
#include <linux/socket.h>
#else
+#include <net/if.h>
+#include <netinet/in.h>
#include <sys/time.h>
#include <sys/socket.h>
#endif