summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/command_graph.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/command_graph.c b/lib/command_graph.c
index 4555d6eaeb..0e8669c4b5 100644
--- a/lib/command_graph.c
+++ b/lib/command_graph.c
@@ -25,8 +25,6 @@
#include <zebra.h>
#include "command_graph.h"
-#include "command.h"
-#include "log.h"
DEFINE_MTYPE_STATIC(LIB, CMD_TOKENS, "Command Tokens")
DEFINE_MTYPE_STATIC(LIB, CMD_DESC, "Command Token Text")
@@ -462,6 +460,9 @@ void cmd_graph_names(struct graph *graph)
#ifndef BUILDING_CLIPPY
+#include "command.h"
+#include "log.h"
+
void cmd_graph_node_print_cb(struct graph_node *gn, struct buffer *buf)
{
static bool wasend;