summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Core/IOHandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Core/IOHandler.cpp b/lldb/source/Core/IOHandler.cpp
index cf290e9bfce..de510c51d34 100644
--- a/lldb/source/Core/IOHandler.cpp
+++ b/lldb/source/Core/IOHandler.cpp
@@ -9,7 +9,7 @@
// C Includes
#ifndef LLDB_DISABLE_CURSES
-#include <ncurses.h>
+#include <curses.h>
#include <panel.h>
#endif
@@ -4107,7 +4107,9 @@ CursesKeyToCString (int ch)
case KEY_UNDO: return "undo key";
case KEY_MOUSE: return "Mouse event has occurred";
case KEY_RESIZE: return "Terminal resize event";
+#ifdef KEY_EVENT
case KEY_EVENT: return "We were interrupted by an event";
+#endif
case KEY_RETURN: return "return";
case ' ': return "space";
case '\t': return "tab";
OpenPOWER on IntegriCloud