LibCore: Add includes for S_ISDIR on Windows

This commit is contained in:
R-Goc 2024-11-21 14:58:07 +01:00
parent 001df24935
commit 679048552f
No known key found for this signature in database
2 changed files with 8 additions and 0 deletions

View file

@ -9,6 +9,10 @@
#include <LibCore/ResourceImplementationFile.h>
#include <LibCore/System.h>
#if defined(AK_OS_WINDOWS)
# include <dirent.h>
#endif
namespace Core {
static OwnPtr<ResourceImplementation> s_the;

View file

@ -11,6 +11,10 @@
#include <LibCore/ResourceImplementationFile.h>
#include <LibCore/System.h>
#if defined(AK_OS_WINDOWS)
# include <dirent.h>
#endif
namespace Core {
ResourceImplementationFile::ResourceImplementationFile(String base_directory)