2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

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 isc-projects/bind9!2525
This commit is contained in:
Michał Kępień
2019-11-06 14:49:42 +00:00
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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>