summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 92e41ef)
raw | patch | inline | side by side (parent: 92e41ef)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 11 Dec 2016 16:56:27 +0000 (17:56 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 11 Dec 2016 16:56:27 +0000 (17:56 +0100) |
They're not used otherwise ;-)
src/tools/sysdb/json.c | patch | blob | history |
diff --git a/src/tools/sysdb/json.c b/src/tools/sysdb/json.c
index 1792cdac9b3f53eacb9c0b8ef238426a5e465b3b..fdd4194167d6f5ced06562933f38914b31fbcbdd 100644 (file)
--- a/src/tools/sysdb/json.c
+++ b/src/tools/sysdb/json.c
#include "utils/strbuf.h"
#include "tools/sysdb/json.h"
-#include <yajl/yajl_parse.h>
-#include <yajl/yajl_gen.h>
+#ifdef HAVE_LIBYAJL
+# include <yajl/yajl_parse.h>
+# include <yajl/yajl_gen.h>
+#endif
#include <unistd.h>
#include <stdio.h>