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/?p=sysdb.git;a=commitdiff_plain;h=f3b0a31699113fd9f4bf505929bd22a924153c50;hp=92e41ef3e0a55d8a6fe9e758d0f5f1d6f604d3d7 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