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 /lib/json.h | |
parent | bgpd/rfpapi: update for new CLI (diff) | |
download | frr-ddae30158dff25ed093f4ab72c46a870ea5ad9f5.tar.xz frr-ddae30158dff25ed093f4ab72c46a870ea5ad9f5.zip |
*: 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>
Diffstat (limited to 'lib/json.h')
-rw-r--r-- | lib/json.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/json.h b/lib/json.h index 0ceffd4e8..bacc79951 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); |