summaryrefslogtreecommitdiff
path: root/plugingui/directory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/directory.cc')
-rw-r--r--plugingui/directory.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/directory.cc b/plugingui/directory.cc
index 61b1441..9ebfe70 100644
--- a/plugingui/directory.cc
+++ b/plugingui/directory.cc
@@ -34,7 +34,9 @@
#include <string.h>
#ifdef WIN32
+#ifdef __MINGW32__
#include <direct.h>
+#endif
#include <windows.h>
#endif