summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-06-05 15:08:23 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-06-05 15:08:23 +0200
commitb91fe74814c2217072860611d0b9c2d645db6b9b (patch)
tree3382af0462b52060e126996e9200ab73a6456a4e
parent69e020ea53dcfe71f91a3de46e4ce4a05cefafc5 (diff)
Don't include direct.h unless we're compiling wityh mingw (ie. not cygwin)
-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