From 7b90f00cceb71d0df28073b778d969ec09065199 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 7 Sep 2018 12:55:03 -0400 Subject: [PATCH] lib: Cleanup include of link.h We need link.h for the HAVE_DLINFO_LINKMAP, so include it if we need it for that code path. Signed-off-by: Donald Sharp --- lib/memory_vty.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/memory_vty.c b/lib/memory_vty.c index 73a18529a2..5fd9c3b900 100644 --- a/lib/memory_vty.c +++ b/lib/memory_vty.c @@ -28,7 +28,9 @@ #include #endif #include +#ifdef HAVE_LINK_H #include +#endif #include "log.h" #include "memory.h" -- 2.39.5