Linux build fix.

This commit is contained in:
Gunnar Beutner 2013-03-17 22:14:40 +01:00
parent 949b4c6356
commit 19726d2429
4 changed files with 5 additions and 2 deletions

View 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;

View 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())

View File

@ -24,6 +24,7 @@
#include "base/objectlock.h"
#include <boost/make_shared.hpp>
#include <boost/foreach.hpp>
#include <iostream>
using namespace icinga;

View File

@ -20,6 +20,7 @@
#include "base/streamlogger.h"
#include "base/objectlock.h"
#include <fstream>
#include <iostream>
using namespace icinga;