missing syslog.h #include in dbus-sysdeps-util-unix.c

Andrew Sherk ASherk at qnx.com
Tue Dec 23 12:35:29 PST 2008


Hello,

 

I am building D-bus 1.1.20 (primary release, dated Dec 19 2008)  and had
errors compiling dbus-sysdeps-util-unix.c:

 

Warning: implicit declaration of function openlog

Error: LOG_PID undeclared,

 

etc.

 

I added #include <syslog.h> to this C file and now it compiles without
errors.

 

I am compiling with gcc 4.2.5 (Ubuntu 4.2.4-1ubuntu3)

 

Please let me know if I need to open a bug report for this.

 

Thanks,

a.s.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20081223/0d0e58a9/attachment.htm 


More information about the dbus mailing list