Use json_is_true() in place of json_boolean_value() for compatibility
[trust_router.git] / common / t_constraint.c
index 997abaf..cb7549d 100644 (file)
@@ -33,7 +33,9 @@
  */
 
 #include <jansson.h>
+#if JANSSON_VERSION_HEX < 0x020500
 #include "jansson_iterators.h"
+#endif
 #include <stdio.h>
 #include <assert.h>