*: 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 <equinox@opensourcerouting.org>
This commit is contained in:
David Lamparter 2016-11-29 13:34:52 +01:00
parent aed3273f38
commit ddae30158d
2 changed files with 4 additions and 0 deletions

View 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);

View file

@ -22,6 +22,8 @@
#ifndef OSPF6_ROUTE_H
#define OSPF6_ROUTE_H
#include "command.h"
#define OSPF6_MULTI_PATH_LIMIT 4
/* Debug option */