aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'.