summaryrefslogtreecommitdiff
path: root/source/q_shared.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-11-14 17:34:51 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-11-14 17:34:51 +0000
commit8f0130537b9fbf8d61033212302612d08a300b6f (patch)
treec04dab479596de760aa4ed303f06ae11a6ddb1a9 /source/q_shared.h
parent30f33409258b8abe0d04ca616ab30b67a52b62f4 (diff)
Fixed MSVC build.
Diffstat (limited to 'source/q_shared.h')
-rw-r--r--source/q_shared.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/q_shared.h b/source/q_shared.h
index 81d3b42..b36b589 100644
--- a/source/q_shared.h
+++ b/source/q_shared.h
@@ -33,7 +33,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <endian.h>
#endif
#ifdef _WIN32
+#ifdef _MSC_VER
+#include <direct.h>
+#else
#include <io.h>
+#endif
#else
#include <sys/stat.h>
#include <sys/types.h>