mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-25 22:30:51 +08:00
Problem: cmake search for kqueue missing headers
Solution: include sys/types.h and sys/time.h as documented by kqueue and used in autotools fixes kqueue detection on openbsd
This commit is contained in:
parent
3b264019a2
commit
ff231d2673
@ -380,7 +380,7 @@ endif(WIN32)
|
||||
|
||||
if(NOT MSVC)
|
||||
if(POLLER STREQUAL "")
|
||||
check_cxx_symbol_exists(kqueue sys/event.h HAVE_KQUEUE)
|
||||
check_cxx_symbol_exists(kqueue "sys/types.h;sys/event.h;sys/time.h" HAVE_KQUEUE)
|
||||
if(HAVE_KQUEUE)
|
||||
set(POLLER "kqueue")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user