summaryrefslogtreecommitdiff
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorAleksey Chernov <valexlin@gmail.com>2017-05-13 19:14:55 +0000
committerBrad King <brad.king@kitware.com>2017-05-15 14:25:37 -0400
commit9557b403f521d4f537bbedb9ba00836fb7ebb70c (patch)
tree397f41dd20a3dccfd51a737ec818b4a314ae9dfa /Source/cmFileCommand.cxx
parent845f5e3c51809ec4967fd4940985b221c3918e95 (diff)
downloadcmake-9557b403f521d4f537bbedb9ba00836fb7ebb70c.tar.gz
cmFileCommand: Fix build on mingw-w64
Include header needed for `CP_ACP`.
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 91cecb359f..dc97e37e36 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.