[PATCH] uapi.h: add missing userspace headers

James Tucker jftucker at gmail.com
Sun Jan 8 20:52:21 CET 2017


Signed-off-by: James Tucker <jftucker at gmail.com>
---
 src/uapi.h | 2 ++
 1 file changed, 2 insertions(+)

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
-- 
2.11.0



More information about the WireGuard mailing list