Commit db670fcd authored by Michał Kępień's avatar Michał Kępień

Merge branch '1298-do-not-use-sys-sysctl.h-on-linux' into 'master'

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

Closes #1298

See merge request !2525
parents 89f874e6 65a8b53b
Pipeline #25038 passed with stages
in 1 minute and 46 seconds
......@@ -12,7 +12,7 @@
#include <isc/meminfo.h>
#include <inttypes.h>
#include <unistd.h>
#ifdef HAVE_SYS_SYSCTL_H
#if defined(HAVE_SYS_SYSCTL_H) && !defined(__linux__)
#include <sys/sysctl.h>
#endif
......
......@@ -12,7 +12,7 @@
#include <stdbool.h>
#include <sys/types.h>
#if defined(HAVE_SYS_SYSCTL_H)
#if defined(HAVE_SYS_SYSCTL_H) && !defined(__linux__)
#if defined(HAVE_SYS_PARAM_H)
#include <sys/param.h>
#endif
......
......@@ -18,7 +18,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_SYSCTL_H
#if defined(HAVE_SYS_SYSCTL_H) && !defined(__linux__)
#include <sys/sysctl.h>
#endif
#include <sys/time.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment