X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fpsensor_json.h;h=31ceb00ffd7ad6de43cdae1fc6555dd877d7d921;hb=8433816fae0e04baf1cb3f53e87ad7ed52210915;hp=94d14712ca230f5250508c30aa2aeb710312b970;hpb=c14414799a4caf1569648fce1b61aceb95f6cafc;p=psensor.git diff --git a/src/lib/psensor_json.h b/src/lib/psensor_json.h index 94d1471..31ceb00 100644 --- a/src/lib/psensor_json.h +++ b/src/lib/psensor_json.h @@ -19,7 +19,13 @@ #ifndef _PSENSOR_PSENSOR_JSON_H_ #define _PSENSOR_PSENSOR_JSON_H_ +#include "config.h" + +#ifdef HAVE_JSON_0 #include +#else +#include +#endif #include "psensor.h"