[llvm-branch-commits] [lldb] r198773 - Fix the build of iohandler branch of Linux.

Hafiz Abid Qadeer hafiz_abid at mentor.com
Wed Jan 8 09:01:44 PST 2014


Author: abidh
Date: Wed Jan  8 11:01:44 2014
New Revision: 198773

URL: http://llvm.org/viewvc/llvm-project?rev=198773&view=rev
Log:
Fix the build of iohandler branch of Linux.

Modified:
    lldb/branches/iohandler/CMakeLists.txt
    lldb/branches/iohandler/source/Host/common/Editline.cpp

Modified: lldb/branches/iohandler/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/iohandler/CMakeLists.txt?rev=198773&r1=198772&r2=198773&view=diff
==============================================================================
--- lldb/branches/iohandler/CMakeLists.txt (original)
+++ lldb/branches/iohandler/CMakeLists.txt Wed Jan  8 11:01:44 2014
@@ -265,6 +265,10 @@ if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
   list(APPEND system_libs execinfo)
 endif()
 
+if (CMAKE_SYSTEM_NAME MATCHES "Linux")
+  list(APPEND system_libs ncurses)
+endif()
+
 #add_subdirectory(include)
 add_subdirectory(docs)
 if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")

Modified: lldb/branches/iohandler/source/Host/common/Editline.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/iohandler/source/Host/common/Editline.cpp?rev=198773&r1=198772&r2=198773&view=diff
==============================================================================
--- lldb/branches/iohandler/source/Host/common/Editline.cpp (original)
+++ lldb/branches/iohandler/source/Host/common/Editline.cpp Wed Jan  8 11:01:44 2014
@@ -15,6 +15,8 @@
 #include "lldb/Core/StringList.h"
 #include "lldb/Host/Host.h"
 
+#include <limits.h>
+
 using namespace lldb;
 using namespace lldb_private;
 





More information about the llvm-branch-commits mailing list