projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf2aea7
)
dns+vpn-helper: use autotools to include tun.h
author
ng0
<ng0@n0.is>
Sat, 23 Nov 2019 11:00:40 +0000
(11:00 +0000)
committer
ng0
<ng0@n0.is>
Sat, 23 Nov 2019 11:00:40 +0000
(11:00 +0000)
src/dns/gnunet-helper-dns.c
patch
|
blob
|
history
src/vpn/gnunet-helper-vpn.c
patch
|
blob
|
history
diff --git
a/src/dns/gnunet-helper-dns.c
b/src/dns/gnunet-helper-dns.c
index ca3a2532d0aac5c00ad6c936263d02bca59d268e..a9c2c6d28790cd869256599186825d3648793823 100644
(file)
--- 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 38c5c1795e99aa87c4d30a8fa8344f974f582118..4e35fa2c332d4cf7167e956c240fb45b9ea6a9de 100644
(file)
--- 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'.