summaryrefslogtreecommitdiff
path: root/lib/win32/emu.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/win32/emu.h')
-rw-r--r--lib/win32/emu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/win32/emu.h b/lib/win32/emu.h
index 2c4e1550..69daaa67 100644
--- a/lib/win32/emu.h
+++ b/lib/win32/emu.h
@@ -329,9 +329,14 @@ inline int strcasecmp(const char *s1, const char *s2)
}
#endif
+#ifdef _DIRENT_H_
+#error You must not include MinGW's dirent.h!
+#endif
+
struct dirent
{
char *d_name;
+ unsigned long d_type;
};
struct DIR