Merging r239199:
------------------------------------------------------------------------
r239199 | labath | 2015-06-05 19:14:14 -0400 (Fri, 05 Jun 2015) | 3 lines
Remove unused editline includes
LLDB included editline in a couple of places, not respecting LLDB_DISABLE_LIBEDIT. As far as I can tell, these includes are not used, so I am removing them.
------------------------------------------------------------------------
Differential Revision: http://reviews.llvm.org/D10324
git-svn-id: https://llvm.org/svn/llvm-project/lldb/branches/release_36@240294 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/driver/Platform.h b/tools/driver/Platform.h
index 8995512..84536fa 100644
--- a/tools/driver/Platform.h
+++ b/tools/driver/Platform.h
@@ -103,16 +103,6 @@
#include <pthread.h>
#include <sys/time.h>
-
-#if !defined(__ANDROID_NDK__)
- #include <histedit.h>
- #if defined(__FreeBSD__) || defined(__NetBSD__)
- #include <readline/readline.h>
- #else
- #include <editline/readline.h>
- #endif
-#endif
-
#endif
#endif // lldb_Platform_h_
diff --git a/tools/lldb-mi/Platform.h b/tools/lldb-mi/Platform.h
index 7c35131..57e8e27 100644
--- a/tools/lldb-mi/Platform.h
+++ b/tools/lldb-mi/Platform.h
@@ -96,14 +96,7 @@
#include <termios.h>
#include <unistd.h>
-#include <histedit.h>
#include <pthread.h>
#include <sys/time.h>
-#if defined(__FreeBSD__)
-#include <readline/readline.h>
-#else
-#include <editline/readline.h>
-#endif
-
#endif