summaryrefslogtreecommitdiffstats
path: root/src/common/Journald.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/Journald.cc')
-rw-r--r--src/common/Journald.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/Journald.cc b/src/common/Journald.cc
index 164b65834a6..12e1a97e998 100644
--- a/src/common/Journald.cc
+++ b/src/common/Journald.cc
@@ -14,6 +14,9 @@
#include <sys/un.h>
#include <syslog.h>
#include <unistd.h>
+
+#include <iostream> // for std::cerr
+
#include <fmt/format.h>
#include <fmt/ostream.h>
@@ -23,7 +26,6 @@
#include "log/SubsystemMap.h"
#include "msg/msg_fmt.h"
-
namespace ceph::logging {
namespace {