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