It seems like there's no #define mapping json_tokener_get_error to fjson_tokener_get_error in json_tokener.h. Seems like a simple enough fix unless I'm missing something, although it does seem like it would take redefining the error enum to cover all of the non-fast-json values.
Happy to submit a pull if you agree with the issue. Thanks!