Index: libunwind/src/UnwindCursor.hpp =================================================================== --- libunwind/src/UnwindCursor.hpp +++ libunwind/src/UnwindCursor.hpp @@ -11,7 +11,6 @@ #ifndef __UNWINDCURSOR_HPP__ #define __UNWINDCURSOR_HPP__ -#include #include #include #include Index: libunwind/src/libunwind.cpp =================================================================== --- libunwind/src/libunwind.cpp +++ libunwind/src/libunwind.cpp @@ -27,6 +27,10 @@ using namespace libunwind; +// libunwind does not and should not dependent on C++ library which means that +// we need our own definition of inline placement new that's used in this file. +inline void* operator new(size_t, void* __p) { return __p; } + /// internal object to represent this processes address space LocalAddressSpace LocalAddressSpace::sThisAddressSpace;