Development discussion of WireGuard
 help / color / mirror / Atom feed
* [PATCH] uapi.h: add missing userspace headers
@ 2017-01-08 19:52 James Tucker
  2017-01-08 19:58 ` Jason A. Donenfeld
  0 siblings, 1 reply; 3+ messages in thread
From: James Tucker @ 2017-01-08 19:52 UTC (permalink / raw)
  To: wireguard

Signed-off-by: James Tucker <jftucker@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] uapi.h: add missing userspace headers
  2017-01-08 19:52 [PATCH] uapi.h: add missing userspace headers James Tucker
@ 2017-01-08 19:58 ` Jason A. Donenfeld
  0 siblings, 0 replies; 3+ messages in thread
From: Jason A. Donenfeld @ 2017-01-08 19:58 UTC (permalink / raw)
  To: James Tucker; +Cc: WireGuard mailing list

Merged, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] uapi.h: add missing userspace headers
@ 2017-01-08 19:37 James Tucker
  0 siblings, 0 replies; 3+ messages in thread
From: James Tucker @ 2017-01-08 19:37 UTC (permalink / raw)
  To: wireguard

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-08 19:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-08 19:52 [PATCH] uapi.h: add missing userspace headers James Tucker
2017-01-08 19:58 ` Jason A. Donenfeld
  -- strict thread matches above, loose matches on Subject: below --
2017-01-08 19:37 James Tucker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).