Skip to content

Commit

Permalink
Cleanup wdirent.h and other headers
Browse files Browse the repository at this point in the history
  • Loading branch information
akrieger committed Aug 12, 2021
1 parent 345a04a commit 9fb5ee5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1,002 deletions.
15 changes: 1 addition & 14 deletions src/filesystem.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
#include "filesystem.h"

#include <cstddef>
// IWYU pragma: no_include <sys/dirent.h>
// IWYU pragma: no_include <sys/errno.h>
// FILE I/O
#include <sys/stat.h>
#include <algorithm>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
Expand All @@ -22,15 +18,6 @@
#include "cata_utility.h"
#include "debug.h"

#if defined(_MSC_VER)
# include <direct.h>

# include "wdirent.h"
#else
# include <dirent.h>
# include <unistd.h>
#endif

#if defined(_WIN32)
# include "platform_win.h"
#endif
Expand Down
Loading

0 comments on commit 9fb5ee5

Please sign in to comment.