diff --git a/lib/base/object.hpp b/lib/base/object.hpp index c158b9a5c..9becb5b5a 100644 --- a/lib/base/object.hpp +++ b/lib/base/object.hpp @@ -30,11 +30,11 @@ #include #endif /* _DEBUG */ +#ifndef _MSC_VER #include #include #include #include -#include using boost::shared_ptr; using boost::weak_ptr; @@ -42,6 +42,18 @@ using boost::enable_shared_from_this; using boost::dynamic_pointer_cast; using boost::static_pointer_cast; using boost::make_shared; +#else /* _MSC_VER */ +#include + +using std::shared_ptr; +using std::weak_ptr; +using std::enable_shared_from_this; +using std::dynamic_pointer_cast; +using std::static_pointer_cast; +using std::make_shared; +#endif /* _MSC_VER */ + +#include using boost::tie; namespace icinga