Fix dnsmasq '_PATH_LOG' undeclared build error.
This change came from upstream, presumably so they can build against the NDK.
Change-Id: Iee38c615ac0bbacb3afb91e11f52281abbc1ce70
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 @@
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 */