summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-07-22 02:09:46 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-07-19 23:20:08 +0000
commit7674911bc9d10adf57c2c2d15d0c641b48e4afe6 (patch)
tree752a1f670adf2bad7e3dd81c29b49959f6066359
parent41d356427a632f5336384bfa45c8420ffc274f66 (diff)
parent70eeec149a396b7c457d05de9e38d270a861b9fa (diff)
downloadandroid_external_dnsmasq-7674911bc9d10adf57c2c2d15d0c641b48e4afe6.tar.gz
android_external_dnsmasq-7674911bc9d10adf57c2c2d15d0c641b48e4afe6.tar.bz2
android_external_dnsmasq-7674911bc9d10adf57c2c2d15d0c641b48e4afe6.zip
Merge "Fix dnsmasq '_PATH_LOG' undeclared build error."
-rwxr-xr-xsrc/log.c2
1 files changed, 1 insertions, 1 deletions
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 */