diff -r f00d03835dd9 -r a4e1ba59b733 src/server/util/strreplace.h --- a/src/server/util/strreplace.h Tue Jan 13 18:09:20 2026 +0100 +++ b/src/server/util/strreplace.h Tue Feb 03 19:09:53 2026 +0100 @@ -29,8 +29,7 @@ #ifndef STRINGREPLACE_H #define STRINGREPLACE_H -#include "../public/nsapi.h" - +#include #include #include @@ -94,7 +93,7 @@ * free_str: If set to true, the returned string pointer will be freed * using the allocator's free function. */ -typedef cxmutstr (*strtpl_var_func)(const CxAllocator *a, StringTemplateSegment *seg, void *userdata, WSBool *free_str); +typedef cxmutstr (*strtpl_var_func)(const CxAllocator *a, StringTemplateSegment *seg, void *userdata, bool *free_str); /* * Compiles a string template