[Bug 41295] New: Compiling Core/IOHandler.cpp is missing -I/usr/include/ncurses.

Bug ID 41295
Summary Compiling Core/IOHandler.cpp is missing -I/usr/include/ncurses.
Product lldb
Version 8.0
Hardware PC
OS Linux
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter dilyan.palauzov@aegee.org
CC llvm-bugs@lists.llvm.org

To compile LLDB 8.0.0 I had to change in source/Core/IOHandler.cpp:

#include <ncurses/curses.h>
#include <ncurses/panel.h>

In the original ncurses was missing and my system does not have
/usr/include/curses.h or /usr/local/include/curses.h.  This means that the
cmake system has to check more intensively where curses.h is installed and pass
the right CFLAGS.

This could be also /usr/local/include/ncursesw.