Procházet zdrojové kódy

LibFileSystem: Fix Windows build

This reverts part of  b3c253e50fe630bdf6907fd0641c58975cbcebc5
Pavel Shliak před 8 měsíci
rodič
revize
d55caff227
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      Libraries/LibFileSystem/FileSystem.cpp

+ 2 - 0
Libraries/LibFileSystem/FileSystem.cpp

@@ -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