Merge pull request #5316 from k0ste/stable_7.2_backports

[7.2] lib: Remove include of deprecated sysctl.h
This commit is contained in:
Donald Sharp 2019-11-12 10:20:02 -05:00 committed by GitHub
commit 4875c110d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,10 +52,9 @@ typedef unsigned char uint8_t;
#include <sys/types.h>
#include <sys/param.h>
#ifdef HAVE_SYS_SYSCTL_H
#ifdef GNU_LINUX
#include <linux/types.h>
#endif
#ifndef GNU_LINUX
#include <sys/sysctl.h>
#endif
#endif /* HAVE_SYS_SYSCTL_H */
#include <sys/ioctl.h>
#ifdef HAVE_SYS_CONF_H