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:
1 parent
5f2ab097d5
commit
5d08032aec
1 file changed
+5
@@ -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,}}
|
||||||
|
|||||||
Reference in new issue
Block a user