diff --git a/CMakeLists.txt b/CMakeLists.txt index be6344243..960b23a5a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -515,6 +515,7 @@ target_include_directories(notcurses-demo PRIVATE include src + "${TERMINFO_INCLUDE_DIRS}" "${CMAKE_REQUIRED_INCLUDES}" "${PROJECT_BINARY_DIR}/include" ) diff --git a/src/lib/internal.h b/src/lib/internal.h index 64561ca83..5a929b966 100644 --- a/src/lib/internal.h +++ b/src/lib/internal.h @@ -9,6 +9,7 @@ extern "C" { #include "builddef.h" #include +#include #include #include #include diff --git a/src/lib/notcurses.c b/src/lib/notcurses.c index 8baa2c593..f101abda1 100644 --- a/src/lib/notcurses.c +++ b/src/lib/notcurses.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include diff --git a/src/lib/termdesc.c b/src/lib/termdesc.c index 1ba5d5ef5..a511eca3d 100644 --- a/src/lib/termdesc.c +++ b/src/lib/termdesc.c @@ -1,6 +1,5 @@ #include #include -#include #ifdef __linux__ #include #endif