lib: Remove include of deprecated sysctl.h

Stop including deprecated header file; appears to be unused and
it has been deprecated in recent linux.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
(cherry picked from commit 15e84e5abb)
This commit is contained in:
Mark Stapp 2019-10-23 09:08:21 -04:00 committed by Konstantin Shalygin
parent f5a5822563
commit 2a987a1599
No known key found for this signature in database
GPG Key ID: DAB31F3D3E5BCB69

View File

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