diff --git a/mustach-cjson.c b/mustach-cjson.c index 33e3699..769a566 100644 --- a/mustach-cjson.c +++ b/mustach-cjson.c @@ -16,6 +16,8 @@ int mustach_process_cjson(const char *template, size_t length, const char *value return rc; } #else +#include + int mustach_process_cjson(const char *template, size_t length, const char *value, size_t buffer_length, int flags, FILE *file, char **err) { *err = "!mustach_cjson"; fclose(file); diff --git a/mustach-jansson.c b/mustach-jansson.c index 7a47586..c1d1bc0 100644 --- a/mustach-jansson.c +++ b/mustach-jansson.c @@ -19,6 +19,8 @@ int mustach_process_jansson(const char *template, size_t length, const char *buf return rc; } #else +#include + int mustach_process_jansson(const char *template, size_t length, const char *buffer, size_t buflen, int flags, FILE *file, char **err) { *err = "!mustach_jansson"; fclose(file); diff --git a/mustach-json-c.c b/mustach-json-c.c index 7fef963..a47b233 100644 --- a/mustach-json-c.c +++ b/mustach-json-c.c @@ -31,6 +31,8 @@ int mustach_process_json_c(const char *template, size_t length, const char *str, return rc; } #else +#include + int mustach_process_json_c(const char *template, size_t length, const char *str, size_t len, int flags, FILE *file, char **err) { *err = "!mustach_json_c"; fclose(file);