LibFileSystem: Fix Windows build

This reverts part of  b3c253e50f
This commit is contained in:
Pavel Shliak 2024-11-21 09:00:55 +04:00 committed by Jelle Raaijmakers
commit d55caff227
Notes: github-actions[bot] 2024-11-21 10:16:48 +00:00

View file

@ -15,6 +15,8 @@
# include <sys/disk.h> # include <sys/disk.h>
#elif defined(AK_OS_LINUX) #elif defined(AK_OS_LINUX)
# include <linux/fs.h> # include <linux/fs.h>
#elif defined(AK_OS_WINDOWS)
# include <dirent.h>
#endif #endif
// On Linux distros that use glibc `basename` is defined as a macro that expands to `__xpg_basename`, so we undefine it // On Linux distros that use glibc `basename` is defined as a macro that expands to `__xpg_basename`, so we undefine it