summaryrefslogtreecommitdiff
path: root/FL/platform_types.h
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2019-08-14 12:13:28 -0700
committerGreg Ercolano <erco@seriss.com>2019-08-14 12:13:28 -0700
commit8070d645a906ef88b85a1939bea8af649bf8dbe8 (patch)
tree77ef5cedfed36237e18c9ac1b372024776e403b7 /FL/platform_types.h
parente3042481ee0cd0eefab51a36f5875492fd58bc80 (diff)
parent292739664fdcf03bf4dabd2f1680b0f7c4cb17a1 (diff)
Merge branch 'master' of github.com:fltk/fltk
Diffstat (limited to 'FL/platform_types.h')
-rw-r--r--FL/platform_types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/FL/platform_types.h b/FL/platform_types.h
index 771f611a9..c13448614 100644
--- a/FL/platform_types.h
+++ b/FL/platform_types.h
@@ -116,7 +116,11 @@ typedef int FL_SOCKET;
# endif
typedef struct HGLRC__ *GLContext;
#include <sys/stat.h>
-struct dirent {char d_name[1];};
+#ifdef __MINGW32__
+# include <dirent.h>
+#else
+ struct dirent {char d_name[1];};
+#endif
#elif defined(__ANDROID__)