From 7c8a7176d196d4bb3724cfafd41980c16be5f404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Fri, 12 Jan 2018 03:59:46 +0100 Subject: Only use sd_journal_* if we really are outputing to journald We check that the device and inode numbers are actually the same as the JOURNAL_STREAM value, instead of just checking that the value exists. This fixes the logger unit tests --- src/logger/logger.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/logger/logger.hpp') diff --git a/src/logger/logger.hpp b/src/logger/logger.hpp index a99648c..1689866 100644 --- a/src/logger/logger.hpp +++ b/src/logger/logger.hpp @@ -9,6 +9,7 @@ */ #include +#include #include #include #include -- cgit v1.2.3