Skip to content

Commit

Permalink
LibFileSystem: Clean up #include directives
Browse files Browse the repository at this point in the history
This change aims to improve the speed of incremental builds.
  • Loading branch information
shlyakpavel authored and gmta committed Nov 20, 2024
1 parent d0c0db5 commit b3c253e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Libraries/LibFileSystem/FileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#include <LibCore/DirIterator.h>
#include <LibCore/System.h>
#include <LibFileSystem/FileSystem.h>
#include <dirent.h>

This comment has been minimized.

Copy link
@stasoid

stasoid Nov 21, 2024

Contributor

breaks windows build

#include <limits.h>

#if !defined(AK_OS_IOS) && defined(AK_OS_BSD_GENERIC)
# include <sys/disk.h>
Expand Down
1 change: 0 additions & 1 deletion Libraries/LibFileSystem/FileSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <AK/Error.h>
#include <AK/StringView.h>
#include <LibCore/File.h>
#include <sys/stat.h>

namespace FileSystem {

Expand Down

0 comments on commit b3c253e

Please sign in to comment.