From 722016f662ce858a5714ae22426c4d00be7ac9be Mon Sep 17 00:00:00 2001 From: NepDisk Date: Thu, 28 Aug 2025 19:16:32 -0400 Subject: [PATCH] Shove this behind a define for windows --- src/filesrch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/filesrch.c b/src/filesrch.c index 10f2ac3a8..af8aeaf52 100644 --- a/src/filesrch.c +++ b/src/filesrch.c @@ -375,7 +375,9 @@ filestatus_t filesearch(char *filename, const char *startpath, UINT64 wantedhash filestatus_t retval = FS_NOTFOUND; DIR **dirhandle; struct dirent *dent; +#ifndef _WIN32 struct stat fsstat; +#endif int found = 0; char *searchname = strdup(filename); int depthleft = maxsearchdepth;