diff options
author | Colin Walters <walters@verbum.org> | 2013-05-09 15:37:42 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-05-09 15:37:42 -0400 |
commit | b2a65b235600e340fada441de7e131de9d52d25e (patch) | |
tree | 0666a9c1fa4364ba9ce51336ae134ac951b4452d /gsystem-log.c | |
parent | ba6376041cbab2cc74bd54410e0734602768ecbf (diff) | |
download | libgsystem-b2a65b235600e340fada441de7e131de9d52d25e.tar.gz |
log: Squash warning when building without systemd
Diffstat (limited to 'gsystem-log.c')
-rw-r--r-- | gsystem-log.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gsystem-log.c b/gsystem-log.c index 032e6cb..134fce8 100644 --- a/gsystem-log.c +++ b/gsystem-log.c @@ -93,8 +93,10 @@ void gs_log_structured_print (const char *message, const char *const *keys) { +#ifdef ENABLE_SYSTEMD_JOURNAL static gsize initialized; static gboolean stdout_is_socket; +#endif gs_log_structured (message, keys); |