Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation if sys/sysctl.h is not present
Glibc 2.32 removes sys/sysctl.h as it is no longer needed. This commit fixes the compilation with newer versions of Glibc by checking for sys/sysctl.h with has_include, which in turn is only used if it is supported. This should mean that this commit does not prevent any configuration that worked before from working.
- Loading branch information