Commit 46f591b2 authored by Ralf Habacker's avatar Ralf Habacker

Fix compile error on opensuse 12.2 with systemd 44 and glibc-2.15.

The specific systemd/glibc version do not include syslog.h by default.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=73455Reviewed-by: 's avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
parent 7457a440
......@@ -39,6 +39,9 @@
#include <errno.h>
#endif
#ifdef HAVE_SYSTEMD
#ifdef HAVE_SYSLOG_H
#include <syslog.h>
#endif
#include <systemd/sd-journal.h>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment