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: Idca02fba6fd31e60fdd5710973c98e07ac71a7bc
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 */