From 315aa6cde48bbe5af08f61778d70f72aa0f9648a Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sat, 4 Nov 2023 08:15:54 +0000 Subject: *: Remove netlink headers from lib/zebra.h The headers associated with netlink code really only belong in those that need it. Move these headers out of lib/zebra.h and into more appropriate places. bgp's usage of the RT_TABLE_XXX defines are probably not appropriate and will be cleaned up in future commits. Signed-off-by: Donald Sharp --- zebra/zebra_rib.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zebra/zebra_rib.c') diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 37c042c044..a4af3a43ff 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -5,6 +5,10 @@ #include +#ifdef GNU_LINUX +#include +#endif + #include "command.h" #include "if.h" #include "linklist.h" -- cgit v1.2.3