From ef815e0c09f9b45868ee73a09cf7186b23b899d3 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 21 Jul 2014 19:07:40 -0700 Subject: Fix dnsmasq '_PATH_LOG' undeclared build error. This change came from upstream, presumably so they can build against the NDK. (cherry picked from commit 70eeec149a396b7c457d05de9e38d270a861b9fa) Change-Id: Ic8df0bcf2c1a0619005e6a87ee467e1242da22fe --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.c b/src/log.c index 2fc0c6e..e854eea 100755 --- a/src/log.c +++ b/src/log.c @@ -114,7 +114,7 @@ int log_reopen(char *log_file) return log_fd != -1; } else -#ifdef HAVE_SOLARIS_NETWORK +#if defined(HAVE_SOLARIS_NETWORK) || defined(__ANDROID__) /* Solaris logging is "different", /dev/log is not unix-domain socket. Just leave log_fd == -1 and use the vsyslog call for everything.... */ # define _PATH_LOG "" /* dummy */ -- cgit v1.2.3