mirror of https://github.com/Icinga/icinga2.git
Linux build fix.
This commit is contained in:
parent
949b4c6356
commit
19726d2429
|
@ -30,6 +30,7 @@
|
||||||
#include <boost/make_shared.hpp>
|
#include <boost/make_shared.hpp>
|
||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
#include <boost/exception/diagnostic_information.hpp>
|
#include <boost/exception/diagnostic_information.hpp>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
|
|
|
@ -35,8 +35,8 @@ void __cxa_throw(void *obj, void *pvtinfo, void (*dest)(void *))
|
||||||
|
|
||||||
#ifndef __APPLE__
|
#ifndef __APPLE__
|
||||||
void *thrown_ptr = obj;
|
void *thrown_ptr = obj;
|
||||||
const type_info *tinfo = static_cast<type_info *>(pvtinfo);
|
const std::type_info *tinfo = static_cast<std::type_info *>(pvtinfo);
|
||||||
const type_info *boost_exc = &typeid(boost::exception);
|
const std::type_info *boost_exc = &typeid(boost::exception);
|
||||||
|
|
||||||
/* Check if the exception is a pointer type. */
|
/* Check if the exception is a pointer type. */
|
||||||
if (tinfo->__is_pointer_p())
|
if (tinfo->__is_pointer_p())
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#include "base/objectlock.h"
|
#include "base/objectlock.h"
|
||||||
#include <boost/make_shared.hpp>
|
#include <boost/make_shared.hpp>
|
||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include "base/streamlogger.h"
|
#include "base/streamlogger.h"
|
||||||
#include "base/objectlock.h"
|
#include "base/objectlock.h"
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue