From: Dagobert Michelsen Date: Wed, 3 Apr 2013 10:38:38 +0000 (+0200) Subject: HAVE_DECL_LOG_PERROR is 0 when unavailable X-Git-Tag: dbus-1.7.2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee49d0672a04c68850c7d48988d0373caa3077ab;p=thirdparty%2Fdbus.git HAVE_DECL_LOG_PERROR is 0 when unavailable Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39987 Reviewed-by: Simon McVittie --- diff --git a/dbus/dbus-sysdeps-util-unix.c b/dbus/dbus-sysdeps-util-unix.c index 81098cafe..99888f01e 100644 --- a/dbus/dbus-sysdeps-util-unix.c +++ b/dbus/dbus-sysdeps-util-unix.c @@ -433,7 +433,7 @@ _dbus_init_system_log (void) #ifdef HAVE_SYSLOG_H int logopts = LOG_PID; -#ifdef HAVE_DECL_LOG_PERROR +#if HAVE_DECL_LOG_PERROR #ifdef HAVE_SYSTEMD if (sd_booted () <= 0) #endif