As of release 1.2.10, the source file dbus-sysdeps-util-unix.c will not compile under Mac OS X 10.5, because the function "openlog" is undeclared. On Mac OS X 10.5, "openlog" is declared in the header <syslog.h>. If the line
is added in the section of #includes at the top of this file, it compiles and dbus makes normally.
I did not include a patch because (a) it's a one-liner, but mostly (b) I have no way of knowing if this header exists on other operating systems, or how in the build system for dbus you would want to go about checking if this #include is necessary.
I appreciate it if someone is able to properly tailor the #includes in a future release of dbus. Many thanks, Glen
I get the same compilation error on a Fedora core 3 machine, adding the syslog.h include fixes it.
Author: Colin Walters <email@example.com>
Date: Tue Jan 6 17:34:20 2009 -0500
Bug 19307: Add missing syslog include