[CMake] Add configure check for sys/event.h

This enables the kqueue path in MainLoop for Darwin and BSD.

llvm-svn: 300654
This commit is contained in:
Chris Bieneman 2017-04-19 02:53:53 +00:00
parent eb86173f7b
commit 94c1708110
1 changed files with 1 additions and 0 deletions

View File

@ -436,6 +436,7 @@ check_symbol_exists(ppoll poll.h HAVE_PPOLL)
check_symbol_exists(sigaction signal.h HAVE_SIGACTION)
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