summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Chernov <valexlin@gmail.com>2017-05-13 19:14:55 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-15 18:25:37 (GMT)
commit9557b403f521d4f537bbedb9ba00836fb7ebb70c (patch)
tree397f41dd20a3dccfd51a737ec818b4a314ae9dfa
parent845f5e3c51809ec4967fd4940985b221c3918e95 (diff)
downloadCMake-9557b403f521d4f537bbedb9ba00836fb7ebb70c.zip
CMake-9557b403f521d4f537bbedb9ba00836fb7ebb70c.tar.gz
CMake-9557b403f521d4f537bbedb9ba00836fb7ebb70c.tar.bz2
cmFileCommand: Fix build on mingw-w64
Include header needed for `CP_ACP`.
-rw-r--r--Source/cmFileCommand.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 91cecb3..dc97e37 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -42,6 +42,10 @@
#include "cmFileLockResult.h"
#endif
+#if defined(_WIN32)
+#include <windows.h>
+#endif
+
class cmSystemToolsFileTime;
// Table of permissions flags.