summaryrefslogtreecommitdiff
path: root/ext4_utils/contents.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext4_utils/contents.c')
-rw-r--r--ext4_utils/contents.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext4_utils/contents.c b/ext4_utils/contents.c
index c7607ab1..d64f7e02 100644
--- a/ext4_utils/contents.c
+++ b/ext4_utils/contents.c
@@ -26,6 +26,10 @@
#include "extent.h"
#include "indirect.h"
+#ifdef USE_MINGW
+#define S_IFLNK 0 /* used by make_link, not needed under mingw */
+#endif
+
static u32 dentry_size(u32 entries, struct dentry *dentries)
{
u32 len = 24;