summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-12-29 04:01:58 +0000
committerNick Mathewson <nickm@torproject.org>2008-12-29 04:01:58 +0000
commit2c4097e99d10ee14794002a53dc6770ba811de63 (patch)
treea816c830b400f24c6d0296135de48691683f15e8 /src
parentdce46775037bb09b25961147ebc248783c1fc25e (diff)
downloadtor-2c4097e99d10ee14794002a53dc6770ba811de63.tar.gz
tor-2c4097e99d10ee14794002a53dc6770ba811de63.zip
More compilation tweaks on Android: fix two clear errors in our code that apparently the compiler cares about there.
svn:r17808
Diffstat (limited to 'src')
-rw-r--r--src/or/eventdns.c2
-rw-r--r--src/or/or.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c
index cd486caaa1..106e7997f2 100644
--- a/src/or/eventdns.c
+++ b/src/or/eventdns.c
@@ -102,7 +102,7 @@
#endif
#ifdef HAVE_NETINET_IN6_H
-#include <netinet6/in6.h>
+#include <netinet/in6.h>
#endif
#ifdef WIN32
diff --git a/src/or/or.h b/src/or/or.h
index 5f21fea88a..65158ccd14 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2872,8 +2872,8 @@ const char *get_version(void);
int config_get_lines(const char *string, config_line_t **result);
void config_free_lines(config_line_t *front);
-int options_trial_assign(config_line_t *list, int use_defaults,
- int clear_first, char **msg);
+setopt_err_t options_trial_assign(config_line_t *list, int use_defaults,
+ int clear_first, char **msg);
int resolve_my_address(int warn_severity, or_options_t *options,
uint32_t *addr, char **hostname_out);
int is_local_addr(const tor_addr_t *addr) ATTR_PURE;