Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1commit ff231d267370493814f933d151441866bf1e200b2Author: Min RK <[email protected]>3Date: Fri Feb 23 13:21:08 2024 +01005Problem: cmake search for kqueue missing headers7Solution: include sys/types.h and sys/time.h as documented by kqueue8and used in autotools10fixes kqueue detection on openbsd12diff --git a/CMakeLists.txt b/CMakeLists.txt13index f956f3fd..814d5d46 10064414--- a/CMakeLists.txt15+++ b/CMakeLists.txt16@@ -380,7 +380,7 @@ endif(WIN32)18if(NOT MSVC)19if(POLLER STREQUAL "")20- check_cxx_symbol_exists(kqueue sys/event.h HAVE_KQUEUE)21+ check_cxx_symbol_exists(kqueue "sys/types.h;sys/event.h;sys/time.h" HAVE_KQUEUE)22if(HAVE_KQUEUE)23set(POLLER "kqueue")24endif()
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.