From cdcf453c61fa632ac33c2df5b5a4042fd02b1143 Mon Sep 17 00:00:00 2001
From: Ian Henriksen <insertinterestingnamehere@gmail.com>
Date: Tue, 21 Apr 2015 19:33:18 -0600
Subject: [PATCH] Fixed includes so compilation succeeds on mingw-w64.

---
 Source/cmStandardIncludes.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index a9796b9..d362dc3 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -30,6 +30,9 @@
 #pragma warning ( disable : 1572 ) /* floating-point equality test */
 #endif
 
+// Include proper typedef for mode_t on mingw-w64.
+#include <sys/types.h>
+
 // Provide fixed-size integer types.
 #include <cmIML/INT.h>
 
-- 
1.9.5.msysgit.1

