From ddae30158dff25ed093f4ab72c46a870ea5ad9f5 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 29 Nov 2016 13:34:52 +0100 Subject: *: 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 ++ 1 file changed, 2 insertions(+) (limited to 'lib/json.h') 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); -- cgit v1.2.3