diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-11-29 13:34:52 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2016-11-29 14:15:05 +0100 |
| commit | ddae30158dff25ed093f4ab72c46a870ea5ad9f5 (patch) | |
| tree | da8137cd9c08b0c61e01c08aa6f4e884083ea5d1 | |
| parent | aed3273f38be072c50cbb376aa534cab765bed3f (diff) | |
*: 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>
| -rw-r--r-- | lib/json.h | 2 | ||||
| -rw-r--r-- | ospf6d/ospf6_route.h | 2 |
2 files changed, 4 insertions, 0 deletions
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 */ |
