Skip to content

Do not use <sys/sysctl.h> on Linux

Michał Kępień requested to merge 1298-do-not-use-sys-sysctl.h-on-linux into master

glibc 2.30 deprecated the <sys/sysctl.h> header. However, that header is still used on other Unix-like systems, so only prevent it from being used on Linux, in order to prevent compiler warnings from being triggered.

Closes #1298 (closed)

Merge request reports