]> git.puffer.fish Git - mirror/frr.git/commitdiff
*: add #include "command.h" where needed
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 29 Nov 2016 12:34:52 +0000 (13:34 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 29 Nov 2016 13:15:05 +0000 (14:15 +0100)
Headers using struct cmd_token should directly include command.h so the
struct is actually defined.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/json.h
ospf6d/ospf6_route.h

index 0ceffd4e8e3af29eab07627bb4e4f5a381d3b5ea..bacc799519a902fa834eb313f6f702c2e6c691a5 100644 (file)
@@ -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);
index c7c21a65791a781bed1ffd9bfd0e37e17f511279..8b973d28ff87915934f94c3056387bf2ea126fee 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef OSPF6_ROUTE_H
 #define OSPF6_ROUTE_H
 
+#include "command.h"
+
 #define OSPF6_MULTI_PATH_LIMIT    4
 
 /* Debug option */