1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00

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
parent 570c5f8df2
commit d55caff227
Notes: github-actions[bot] 2024-11-21 10:16:48 +00:00

View file

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