Thank you!
Now xslt.c is being compiled successfully, but I get a linkage error:
/usr/bin/gcc -Wall -Wextra -O2 -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--hash-style=gnu CMakeFiles/hiawatha.dir/src/alternative.c.o CMakeFiles/hiawatha.dir/src/cache.c.o CMakeFiles/hiawatha.dir/src/cgi.c.o CMakeFiles/hiawatha.dir/src/client.c.o CMakeFiles/hiawatha.dir/src/envir.c.o CMakeFiles/hiawatha.dir/src/hiawatha.c.o CMakeFiles/hiawatha.dir/src/http.c.o CMakeFiles/hiawatha.dir/src/httpauth.c.o CMakeFiles/hiawatha.dir/src/libfs.c.o CMakeFiles/hiawatha.dir/src/libip.c.o CMakeFiles/hiawatha.dir/src/liblist.c.o CMakeFiles/hiawatha.dir/src/libssl.c.o CMakeFiles/hiawatha.dir/src/libstr.c.o CMakeFiles/hiawatha.dir/src/log.c.o CMakeFiles/hiawatha.dir/src/mimetype.c.o CMakeFiles/hiawatha.dir/src/monitor.c.o CMakeFiles/hiawatha.dir/src/rproxy.c.o CMakeFiles/hiawatha.dir/src/send.c.o CMakeFiles/hiawatha.dir/src/serverconfig.c.o CMakeFiles/hiawatha.dir/src/session.c.o CMakeFiles/hiawatha.dir/src/target.c.o CMakeFiles/hiawatha.dir/src/tomahawk.c.o CMakeFiles/hiawatha.dir/src/toolkit.c.o CMakeFiles/hiawatha.dir/src/userconfig.c.o CMakeFiles/hiawatha.dir/src/xslt.c.o -o hiawatha -rdynamic -lcrypt -lpthread -lz -lpolarssl -lxml2 -lxslt -Wl,-rpath,:::::::::::::::::::
CMakeFiles/hiawatha.dir/src/xslt.c.o: In function `show_index':
/home/m/rpmbuild/BUILD/hiawatha-8.6/src/xslt.c:709: undefined reference to `check_free'
/home/m/rpmbuild/BUILD/hiawatha-8.6/src/xslt.c:726: undefined reference to `check_free'
/home/m/rpmbuild/BUILD/hiawatha-8.6/src/xslt.c:722: undefined reference to `check_free'
collect2: error: ld returned 1 exit status