summaryrefslogtreecommitdiff
path: root/utils/fs/fs.c
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-03-15 19:42:43 -0400
committerBen Gamari <ben@well-typed.com>2021-03-22 17:48:05 -0400
commitb97f28ccf743056b1ff15a483bf6c77fb9a2d354 (patch)
tree645fd541064104b7f58b53e2a0ed8ff115679ffc /utils/fs/fs.c
parenta9129f9fdfbd358e76aa197ba00bfe75012d6b4f (diff)
downloadhaskell-wip/T19541.tar.gz
rts: Use long-path-aware statwip/T19541
Previously `pathstat` relied on msvcrt's `stat` implementation, which was not long-path-aware. It should rather be defined in terms of the `stat` implementation provided by `utils/fs`. Fixes #19541.
Diffstat (limited to 'utils/fs/fs.c')
-rw-r--r--utils/fs/fs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/fs/fs.c b/utils/fs/fs.c
index ebed2ca0fc..a5377af7e2 100644
--- a/utils/fs/fs.c
+++ b/utils/fs/fs.c
@@ -21,8 +21,6 @@
#include <io.h>
#include <fcntl.h>
#include <wchar.h>
-#include <sys/stat.h>
-#include <sys/types.h>
#include <share.h>
#include <errno.h>