summaryrefslogtreecommitdiff
path: root/firmware/common/dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/dir.h')
-rw-r--r--firmware/common/dir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/dir.h b/firmware/common/dir.h
index 3cf36eb34f..ae21adbd97 100644
--- a/firmware/common/dir.h
+++ b/firmware/common/dir.h
@@ -53,14 +53,14 @@ typedef struct {
53 53
54#else // SIMULATOR 54#else // SIMULATOR
55 55
56#ifdef WIN32 56#if defined(WIN32) && !defined(__MINGW32__)
57#include <io.h> 57#include <io.h>
58#endif // WIN32
58typedef struct DIRtag 59typedef struct DIRtag
59{ 60{
60 struct dirent fd; 61 struct dirent fd;
61 int handle; 62 int handle;
62} DIR; 63} DIR;
63#endif // WIN32
64#endif // SIMULATOR 64#endif // SIMULATOR
65 65
66#ifndef DIRFUNCTIONS_DEFINED 66#ifndef DIRFUNCTIONS_DEFINED