From ddae30158dff25ed093f4ab72c46a870ea5ad9f5 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 29 Nov 2016 13:34:52 +0100 Subject: [PATCH] *: add #include "command.h" where needed Headers using struct cmd_token should directly include command.h so the struct is actually defined. Signed-off-by: David Lamparter --- lib/json.h | 2 ++ ospf6d/ospf6_route.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/json.h b/lib/json.h index 0ceffd4e8e..bacc799519 100644 --- a/lib/json.h +++ b/lib/json.h @@ -34,6 +34,8 @@ #define json_object_to_json_string_ext(A, B) json_object_to_json_string (A) #endif +#include "command.h" + extern int use_json(const int argc, struct cmd_token *argv[]); extern void json_object_string_add(struct json_object* obj, const char *key, const char *s); diff --git a/ospf6d/ospf6_route.h b/ospf6d/ospf6_route.h index c7c21a6579..8b973d28ff 100644 --- a/ospf6d/ospf6_route.h +++ b/ospf6d/ospf6_route.h @@ -22,6 +22,8 @@ #ifndef OSPF6_ROUTE_H #define OSPF6_ROUTE_H +#include "command.h" + #define OSPF6_MULTI_PATH_LIMIT 4 /* Debug option */ -- 2.39.5