diff options
Diffstat (limited to 'lib/json.h')
| -rw-r--r-- | lib/json.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/json.h b/lib/json.h index e69b10acd2..561f7cc405 100644 --- a/lib/json.h +++ b/lib/json.h @@ -22,7 +22,11 @@ #ifndef _QUAGGA_JSON_H #define _QUAGGA_JSON_H +#if defined(HAVE_JSON_C_JSON_H) +#include <json-c/json.h> +#else #include <json/json.h> +#endif extern int use_json(const int argc, const char *argv[]); extern void json_object_string_add(struct json_object* obj, const char *key, |
