gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: dns+vpn-helper: use autotools to include


From: gnunet
Subject: [gnunet] branch master updated: dns+vpn-helper: use autotools to include tun.h
Date: Sat, 23 Nov 2019 12:04:23 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 91c08abb8 dns+vpn-helper: use autotools to include tun.h
91c08abb8 is described below

commit 91c08abb824b6138d27573c4d09c675836186c05
Author: ng0 <address@hidden>
AuthorDate: Sat Nov 23 11:00:40 2019 +0000

    dns+vpn-helper: use autotools to include tun.h
---
 src/dns/gnunet-helper-dns.c | 4 +++-
 src/vpn/gnunet-helper-vpn.c | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/dns/gnunet-helper-dns.c b/src/dns/gnunet-helper-dns.c
index ca3a2532d..a9c2c6d28 100644
--- a/src/dns/gnunet-helper-dns.c
+++ b/src/dns/gnunet-helper-dns.c
@@ -65,7 +65,9 @@
  */
 #include "platform.h"
 
-#include <linux/if_tun.h>
+#ifdef IF_TUN_HDR
+#include IF_TUN_HDR
+#endif
 
 /**
  * Need 'struct GNUNET_MessageHeader'.
diff --git a/src/vpn/gnunet-helper-vpn.c b/src/vpn/gnunet-helper-vpn.c
index 38c5c1795..4e35fa2c3 100644
--- a/src/vpn/gnunet-helper-vpn.c
+++ b/src/vpn/gnunet-helper-vpn.c
@@ -33,7 +33,9 @@
  * - Philipp Tölke
  */
 #include "platform.h"
-#include <linux/if_tun.h>
+#ifdef IF_TUN_HDR
+#include IF_TUN_HDR
+#endif
 
 /**
  * Need 'struct GNUNET_MessageHeader'.

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]