aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/LLDBConfig.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/LLDBConfig.cmake')
-rw-r--r--cmake/modules/LLDBConfig.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/LLDBConfig.cmake b/cmake/modules/LLDBConfig.cmake
index 79e82fbb3fb1..60af9504ee8a 100644
--- a/cmake/modules/LLDBConfig.cmake
+++ b/cmake/modules/LLDBConfig.cmake
@@ -433,7 +433,9 @@ endif()
find_package(Backtrace)
+include(CheckIncludeFile)
check_include_file(termios.h HAVE_TERMIOS_H)
+check_include_file(sys/event.h HAVE_SYS_EVENT_H)
# These checks exist in LLVM's configuration, so I want to match the LLVM names
# so that the check isn't duplicated, but we translate them into the LLDB names