diff --git a/lib/base/application.hpp b/lib/base/application.hpp index 0578b8aa8..f45c8bdd7 100644 --- a/lib/base/application.hpp +++ b/lib/base/application.hpp @@ -9,7 +9,9 @@ #include "base/logger.hpp" #include "base/configuration.hpp" #include "base/shared-memory.hpp" +#include #include +#include namespace icinga { @@ -142,7 +144,7 @@ private: #ifdef _WIN32 static double m_LastReloadFailed; #else /* _WIN32 */ - typedef Atomic AtomicTs; + typedef Atomic::is_always_lock_free, double, uint32_t>> AtomicTs; static_assert(AtomicTs::is_always_lock_free); static SharedMemory m_LastReloadFailed; #endif /* _WIN32 */