Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Sep 10, 2024
1 parent f4f2eec commit 6558342
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mustach-cjson.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ int mustach_process_cjson(const char *template, size_t length, const char *value
return rc;
}
#else
#include <mustach/mustach.h>

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);
Expand Down
2 changes: 2 additions & 0 deletions mustach-jansson.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ int mustach_process_jansson(const char *template, size_t length, const char *buf
return rc;
}
#else
#include <mustach/mustach.h>

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);
Expand Down
2 changes: 2 additions & 0 deletions mustach-json-c.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ int mustach_process_json_c(const char *template, size_t length, const char *str,
return rc;
}
#else
#include <mustach/mustach.h>

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);
Expand Down

0 comments on commit 6558342

Please sign in to comment.