lib/util: add syslog.h for ot_journal_print()
If we aren't including sd-journal, we may need this too.
This commit is contained in:
parent
5f2ab097d5
commit
5d08032aec
|
|
@ -23,8 +23,13 @@
|
||||||
|
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
#include <string.h> /* Yeah...let's just do that here. */
|
#include <string.h> /* Yeah...let's just do that here. */
|
||||||
|
#include <syslog.h>
|
||||||
#include <libglnx.h>
|
#include <libglnx.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBSYSTEMD
|
||||||
|
#include <systemd/sd-journal.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* https://bugzilla.gnome.org/show_bug.cgi?id=766370 */
|
/* https://bugzilla.gnome.org/show_bug.cgi?id=766370 */
|
||||||
#if !GLIB_CHECK_VERSION(2, 49, 3)
|
#if !GLIB_CHECK_VERSION(2, 49, 3)
|
||||||
#define OT_VARIANT_BUILDER_INITIALIZER {{0,}}
|
#define OT_VARIANT_BUILDER_INITIALIZER {{0,}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue