diff -r a569148841ff -r efbd59642577 dav/system.c --- a/dav/system.c Sun Apr 16 14:12:24 2023 +0200 +++ b/dav/system.c Fri Apr 21 21:25:32 2023 +0200 @@ -36,7 +36,7 @@ #include #include -#include +#include #ifndef _WIN32 #include @@ -335,8 +335,8 @@ // however, we interpret .lnk files as symlinks int ret = 0; - scstr_t path_s = scstr(path); - if(scstrsuffix(path_s, SC(".lnk"))) { + cxstring path_s = cx_str(path); + if(cx_strsuffix(path_s, CX_STR(".lnk"))) { // looks like a .lnk file // check content IShellLink *sl;