X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fpsensor_json.h;h=50634e990e5848df1ded353ff9d00790a0854df5;hb=f3b05dae619a7909bd7422b3a82422c9442aa114;hp=93159fd22bd953d2bfd6eeeeb2470b3a01fb03e7;hpb=9f73275fe6e2f89ec4eb798fcdc3ca6075a8f20e;p=psensor.git diff --git a/src/lib/psensor_json.h b/src/lib/psensor_json.h index 93159fd..50634e9 100644 --- a/src/lib/psensor_json.h +++ b/src/lib/psensor_json.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2012 jeanfi@gmail.com + * Copyright (C) 2010-2014 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"