From 65583427a0d8a4d723f63a2af8d9ef74b9f18dac Mon Sep 17 00:00:00 2001 From: RekGRpth Date: Tue, 10 Sep 2024 18:34:28 +0500 Subject: [PATCH] fix --- mustach-cjson.c | 2 ++ mustach-jansson.c | 2 ++ mustach-json-c.c | 2 ++ 3 files changed, 6 insertions(+) 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);