Index: lldb-3.7.0.src/source/lldb.cpp =================================================================== --- lldb-3.7.0.src.orig/source/lldb.cpp +++ lldb-3.7.0.src/source/lldb.cpp @@ -21,11 +21,7 @@ extern "C" const unsigned char liblldb_c static const char * GetLLDBRevision() { -#ifdef LLDB_REVISION return LLDB_REVISION; -#else - return NULL; -#endif } static const char * Index: lldb-3.7.0.src/source/Core/IOHandler.cpp =================================================================== --- lldb-3.7.0.src.orig/source/Core/IOHandler.cpp +++ lldb-3.7.0.src/source/Core/IOHandler.cpp @@ -29,8 +29,8 @@ #include "lldb/Target/ThreadPlan.h" #ifndef LLDB_DISABLE_CURSES -#include -#include +#include +#include #endif using namespace lldb; Index: lldb-3.7.0.src/source/Host/CMakeLists.txt =================================================================== --- lldb-3.7.0.src.orig/source/Host/CMakeLists.txt +++ lldb-3.7.0.src/source/Host/CMakeLists.txt @@ -134,3 +134,4 @@ else() endif() add_lldb_library(lldbHost ${HOST_SOURCES}) +target_link_libraries(lldbHost dl pthread)