diff --git a/lib/base/application.cpp b/lib/base/application.cpp index dfd189fd9..ec1d12d20 100644 --- a/lib/base/application.cpp +++ b/lib/base/application.cpp @@ -30,6 +30,7 @@ #include #include #include +#include using namespace icinga; diff --git a/lib/base/exception.cpp b/lib/base/exception.cpp index e70342658..cef393690 100644 --- a/lib/base/exception.cpp +++ b/lib/base/exception.cpp @@ -35,8 +35,8 @@ void __cxa_throw(void *obj, void *pvtinfo, void (*dest)(void *)) #ifndef __APPLE__ void *thrown_ptr = obj; - const type_info *tinfo = static_cast(pvtinfo); - const type_info *boost_exc = &typeid(boost::exception); + const std::type_info *tinfo = static_cast(pvtinfo); + const std::type_info *boost_exc = &typeid(boost::exception); /* Check if the exception is a pointer type. */ if (tinfo->__is_pointer_p()) diff --git a/lib/base/logger.cpp b/lib/base/logger.cpp index e9e849060..abba02c4e 100644 --- a/lib/base/logger.cpp +++ b/lib/base/logger.cpp @@ -24,6 +24,7 @@ #include "base/objectlock.h" #include #include +#include using namespace icinga; diff --git a/lib/base/streamlogger.cpp b/lib/base/streamlogger.cpp index 128d69c2a..b1f4f989b 100644 --- a/lib/base/streamlogger.cpp +++ b/lib/base/streamlogger.cpp @@ -20,6 +20,7 @@ #include "base/streamlogger.h" #include "base/objectlock.h" #include +#include using namespace icinga;