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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user