From: Sebastian Harl Date: Sun, 11 Dec 2016 16:56:27 +0000 (+0100) Subject: sysdb/json: Only include YAJL headers if they're actually available. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f3b0a31699113fd9f4bf505929bd22a924153c50;p=sysdb.git sysdb/json: Only include YAJL headers if they're actually available. They're not used otherwise ;-) --- diff --git a/src/tools/sysdb/json.c b/src/tools/sysdb/json.c index 1792cda..fdd4194 100644 --- a/src/tools/sysdb/json.c +++ b/src/tools/sysdb/json.c @@ -35,8 +35,10 @@ #include "utils/strbuf.h" #include "tools/sysdb/json.h" -#include -#include +#ifdef HAVE_LIBYAJL +# include +# include +#endif #include #include