diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-05-02 00:08:54 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-05-02 00:08:54 +0200 |
commit | 80b88d6a6871ed8dcb24bcc8babdde3a17aad679 (patch) | |
tree | f6278cebf359766d993b24150ba6ff140b55977e | |
parent | f38bc10411d68d2246919d57d043ee8bf0ca804a (diff) | |
parent | 91e407579c48f62df4c75c49f63937009f563099 (diff) | |
download | gnunet-80b88d6a6871ed8dcb24bcc8babdde3a17aad679.tar.gz gnunet-80b88d6a6871ed8dcb24bcc8babdde3a17aad679.zip |
Merge branch 'master' of git+ssh://gnunet.org/gnunet
-rw-r--r-- | src/exit/gnunet-helper-exit.c | 2 | ||||
-rw-r--r-- | src/vpn/gnunet-helper-vpn.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/exit/gnunet-helper-exit.c b/src/exit/gnunet-helper-exit.c index d46032662..4a6c66deb 100644 --- a/src/exit/gnunet-helper-exit.c +++ b/src/exit/gnunet-helper-exit.c | |||
@@ -85,6 +85,7 @@ static const char *sbin_sysctl; | |||
85 | static const char *sbin_iptables; | 85 | static const char *sbin_iptables; |
86 | 86 | ||
87 | 87 | ||
88 | #if ! defined(__ANDROID__) | ||
88 | #if ! defined(_LINUX_IN6_H) && defined(__linux__) | 89 | #if ! defined(_LINUX_IN6_H) && defined(__linux__) |
89 | /** | 90 | /** |
90 | * This is in linux/include/net/ipv6.h, but not always exported. | 91 | * This is in linux/include/net/ipv6.h, but not always exported. |
@@ -96,6 +97,7 @@ struct in6_ifreq | |||
96 | int ifr6_ifindex; | 97 | int ifr6_ifindex; |
97 | }; | 98 | }; |
98 | #endif | 99 | #endif |
100 | #endif | ||
99 | 101 | ||
100 | 102 | ||
101 | /** | 103 | /** |
diff --git a/src/vpn/gnunet-helper-vpn.c b/src/vpn/gnunet-helper-vpn.c index 4e35fa2c3..c693d24ea 100644 --- a/src/vpn/gnunet-helper-vpn.c +++ b/src/vpn/gnunet-helper-vpn.c | |||
@@ -59,6 +59,7 @@ | |||
59 | */ | 59 | */ |
60 | #define MAX_SIZE 65536 | 60 | #define MAX_SIZE 65536 |
61 | 61 | ||
62 | #if ! defined(__ANDROID__) | ||
62 | #ifndef _LINUX_IN6_H | 63 | #ifndef _LINUX_IN6_H |
63 | /** | 64 | /** |
64 | * This is in linux/include/net/ipv6.h, but not always exported... | 65 | * This is in linux/include/net/ipv6.h, but not always exported... |
@@ -70,6 +71,7 @@ struct in6_ifreq | |||
70 | unsigned int ifr6_ifindex; | 71 | unsigned int ifr6_ifindex; |
71 | }; | 72 | }; |
72 | #endif | 73 | #endif |
74 | #endif | ||
73 | 75 | ||
74 | 76 | ||
75 | /** | 77 | /** |