From 91c08abb824b6138d27573c4d09c675836186c05 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 23 Nov 2019 11:00:40 +0000 Subject: [PATCH] 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 +#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 +#ifdef IF_TUN_HDR +#include IF_TUN_HDR +#endif /** * Need 'struct GNUNET_MessageHeader'. -- 2.25.1