]> granicus.if.org Git - icinga2/commitdiff
Linux build fix.
authorGunnar Beutner <gunnar.beutner@netways.de>
Sun, 17 Mar 2013 21:14:40 +0000 (22:14 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Sun, 17 Mar 2013 21:14:40 +0000 (22:14 +0100)
lib/base/application.cpp
lib/base/exception.cpp
lib/base/logger.cpp
lib/base/streamlogger.cpp

index dfd189fd91f8ab1d13ac85ac736303a9f5eb3d24..ec1d12d20281f7b357d77c4cef3816f055091b6b 100644 (file)
@@ -30,6 +30,7 @@
 #include <boost/make_shared.hpp>
 #include <boost/foreach.hpp>
 #include <boost/exception/diagnostic_information.hpp>
+#include <iostream>
 
 using namespace icinga;
 
index e703426588c31615bc59d02dbc4a3555a50db49c..cef3936909bb6a308c72b381515cb60d0860a930 100644 (file)
@@ -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<type_info *>(pvtinfo);
-       const type_info *boost_exc = &typeid(boost::exception);
+       const std::type_info *tinfo = static_cast<std::type_info *>(pvtinfo);
+       const std::type_info *boost_exc = &typeid(boost::exception);
 
        /* Check if the exception is a pointer type. */
        if (tinfo->__is_pointer_p())
index e9e8490607c3afdaa7ba483cee30019cf9d1ee5d..abba02c4e2bca8aab4f9fd9a8113011bfbec3882 100644 (file)
@@ -24,6 +24,7 @@
 #include "base/objectlock.h"
 #include <boost/make_shared.hpp>
 #include <boost/foreach.hpp>
+#include <iostream>
 
 using namespace icinga;
 
index 128d69c2a83a09f3b1919973eae6355e810f4ff5..b1f4f989baaafa66ab7668cc7bf6749446972185 100644 (file)
@@ -20,6 +20,7 @@
 #include "base/streamlogger.h"
 #include "base/objectlock.h"
 #include <fstream>
+#include <iostream>
 
 using namespace icinga;