summaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-helper-vpn.c
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/vpn/gnunet-helper-vpn.c
parentcf2aea7905f9df0599e067a1889d24e113bcdbfd (diff)
dns+vpn-helper: use autotools to include tun.h
Diffstat (limited to 'src/vpn/gnunet-helper-vpn.c')
-rw-r--r--src/vpn/gnunet-helper-vpn.c4
1 files changed, 3 insertions, 1 deletions
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'.