--- CMakeLists.txt.orig	2020-12-16 13:02:13 UTC
+++ CMakeLists.txt
@@ -398,6 +398,9 @@ endif()
 
 
 
+include(CheckIncludeFiles)
+check_include_files("sys/types.h;sys/sysctl.h" HAVE_SYSCTL_H)
+
 
 ######################################################################################
 
