aboutsummaryrefslogtreecommitdiff
path: root/tools/driver/Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/driver/Platform.h')
-rw-r--r--tools/driver/Platform.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/tools/driver/Platform.h b/tools/driver/Platform.h
index 8995512a0f8f..c42d7e3da9d4 100644
--- a/tools/driver/Platform.h
+++ b/tools/driver/Platform.h
@@ -10,12 +10,11 @@
#ifndef lldb_Platform_h_
#define lldb_Platform_h_
-#include "lldb/Host/HostGetOpt.h"
-
#if defined( _WIN32 )
// this will stop signal.h being included
#define _INC_SIGNAL
+ #include "lldb/Host/HostGetOpt.h"
#include <io.h>
#if defined( _MSC_VER )
#include <eh.h>
@@ -93,7 +92,7 @@
extern int tcgetattr( int fildes, struct termios *termios_p );
#else
-
+ #include "lldb/Host/HostGetOpt.h"
#include <inttypes.h>
#include <libgen.h>
@@ -103,16 +102,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_