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