X-Git-Url: http://wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Flp_json.h;h=99add453b4de027a0894d6973dffec89e7a20bfb;hb=8fbc54a7960312d1626f4032d5fef5bf8a37db70;hp=cfb803dd5d37c244219003685d72c7323e78211d;hpb=99b65b5be32158ebc793df4ab2b825633e32a100;p=ppastats.git diff --git a/src/lp_json.h b/src/lp_json.h index cfb803d..99add45 100644 --- a/src/lp_json.h +++ b/src/lp_json.h @@ -22,6 +22,14 @@ #include +#include + +/* Declares json_bool to have consistent code even with + old json lib releases using boolean instead of json_bool.*/ +#ifndef HAVE_JSON_BOOL +typedef boolean json_bool; +#endif + #include "lp.h" struct bpph **json_object_to_bpph_list(json_object *o);