From: Mark Stapp Date: Wed, 23 Oct 2019 13:08:21 +0000 (-0400) Subject: lib: Remove include of deprecated sysctl.h X-Git-Tag: frr-7.2.1~27^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=2a987a15993f58e35916fcf92d410fa17c222087;p=mirror%2Ffrr.git 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 (cherry picked from commit 15e84e5abbf32ab6ad470ee3dbdcfa27c87e455f) --- diff --git a/lib/zebra.h b/lib/zebra.h index b17ef700b4..de9a347e1f 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -52,10 +52,9 @@ typedef unsigned char uint8_t; #include #include #ifdef HAVE_SYS_SYSCTL_H -#ifdef GNU_LINUX -#include -#endif +#ifndef GNU_LINUX #include +#endif #endif /* HAVE_SYS_SYSCTL_H */ #include #ifdef HAVE_SYS_CONF_H