summaryrefslogtreecommitdiffstats
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-10-23 15:08:21 +0200
committerMark Stapp <mjs@voltanet.io>2019-10-23 15:08:21 +0200
commit15e84e5abbf32ab6ad470ee3dbdcfa27c87e455f (patch)
tree58ecd525068e9a43070b0c6a9ab2620f3572c520 /lib/zebra.h
parentMerge pull request #5204 from ghasemnaddaf/vrrp_updates (diff)
downloadfrr-15e84e5abbf32ab6ad470ee3dbdcfa27c87e455f.tar.xz
frr-15e84e5abbf32ab6ad470ee3dbdcfa27c87e455f.zip
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>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index b17ef700b..de9a347e1 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -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