aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-23 11:00:40 +0000
committerng0 <ng0@n0.is>2019-11-23 11:00:40 +0000
commit91c08abb824b6138d27573c4d09c675836186c05 (patch)
treea2e0477fc1c74d86d1ab96e180b1e8b8a955cfc3 /src
parentcf2aea7905f9df0599e067a1889d24e113bcdbfd (diff)
downloadgnunet-91c08abb824b6138d27573c4d09c675836186c05.tar.gz
gnunet-91c08abb824b6138d27573c4d09c675836186c05.zip
dns+vpn-helper: use autotools to include tun.h
Diffstat (limited to 'src')
-rw-r--r--src/dns/gnunet-helper-dns.c4
-rw-r--r--src/vpn/gnunet-helper-vpn.c4
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 @@
65 */ 65 */
66#include "platform.h" 66#include "platform.h"
67 67
68#include <linux/if_tun.h> 68#ifdef IF_TUN_HDR
69#include IF_TUN_HDR
70#endif
69 71
70/** 72/**
71 * Need 'struct GNUNET_MessageHeader'. 73 * 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 @@
33 * - Philipp Tölke 33 * - Philipp Tölke
34 */ 34 */
35#include "platform.h" 35#include "platform.h"
36#include <linux/if_tun.h> 36#ifdef IF_TUN_HDR
37#include IF_TUN_HDR
38#endif
37 39
38/** 40/**
39 * Need 'struct GNUNET_MessageHeader'. 41 * Need 'struct GNUNET_MessageHeader'.