From a5a0533d793a64b76a84f23d4ca1754571ee0b40 Mon Sep 17 00:00:00 2001
From: madmaxoft <github@xoft.cz>
Date: Mon, 30 Jun 2014 21:41:14 +0200
Subject: Fixed cFile compilation under MinGW.

---
 src/OSSupport/File.cpp | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/OSSupport/File.cpp')

diff --git a/src/OSSupport/File.cpp b/src/OSSupport/File.cpp
index 8c24fa541..addf8f928 100644
--- a/src/OSSupport/File.cpp
+++ b/src/OSSupport/File.cpp
@@ -7,6 +7,9 @@
 
 #include "File.h"
 #include <fstream>
+#ifdef _WIN32
+	#include <share.h>  // for _SH_DENYWRITE
+#endif  // _WIN32
 
 
 
-- 
cgit v1.2.3