From 28eefb2b12baa6c2f14199209993d60c59995e04 Mon Sep 17 00:00:00 2001 From: Nathan Brei Date: Sat, 14 Dec 2024 12:09:20 -0500 Subject: [PATCH] jout/jerr also provided via JStreamLog --- src/libraries/JANA/Compatibility/JStreamLog.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libraries/JANA/Compatibility/JStreamLog.h b/src/libraries/JANA/Compatibility/JStreamLog.h index 77719c914..249c4c807 100644 --- a/src/libraries/JANA/Compatibility/JStreamLog.h +++ b/src/libraries/JANA/Compatibility/JStreamLog.h @@ -14,6 +14,10 @@ #include #include "JStreamLogBuffer.h" +#include +// Quick-and-dirty cyclic dependency to ensure that jout/jerr are +// provided regardless of whether JLogger.h or JStreamLog.h is included + /// JStreamLog provides an interface for for writing messages /// in a way that buffers them by thread to prevent multiple /// threads from simultaneously writing to the screen (via