X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Flib%2Fpsensor_json.h;h=14c979499af6e5d66fb5cb49ca3b84b468219029;hp=6d2556a5aa7cffe220acc75a8d77374e5f70c900;hb=c1e20f2631a1249720e9c75d753eacfcb0f6c7b9;hpb=45c8086f97097df36ba8cd0552f152be80f79b12 diff --git a/src/lib/psensor_json.h b/src/lib/psensor_json.h index 6d2556a..14c9794 100644 --- a/src/lib/psensor_json.h +++ b/src/lib/psensor_json.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2011 jeanfi@gmail.com + * Copyright (C) 2010-2016 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -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"