Merge remote-tracking branch 'freeradius/v3.0.x' into tr-upgrade
[freeradius.git] / src / modules / rlm_couchbase / jsonc_missing.c
index f27c2f0..a597bf5 100644 (file)
@@ -29,6 +29,12 @@ RCSID("$Id$");
 
 #include "jsonc_missing.h"
 
+#ifndef HAVE_JSON_C_VERSION
+       const char *json_c_version(void) {
+               return "Unknown (less than 0.10) - Please upgrade";
+       }
+#endif
+
 #ifndef HAVE_JSON_OBJECT_GET_STRING_LEN
 int json_object_get_string_len(json_object *obj) {
        if (json_object_get_type(obj) != json_type_string)