From 12048d82769997724107d461e9b4f7d12cad41d1 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 2 May 2006 18:43:19 -0400 Subject: [PATCH] COMP: Try to fix windows builds --- Source/CPack/cmCPackTarCompressGenerator.cxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Source/CPack/cmCPackTarCompressGenerator.cxx b/Source/CPack/cmCPackTarCompressGenerator.cxx index 066b38437..59527cdd5 100644 --- a/Source/CPack/cmCPackTarCompressGenerator.cxx +++ b/Source/CPack/cmCPackTarCompressGenerator.cxx @@ -26,7 +26,14 @@ #include "cmCPackLog.h" #include -#include + +// Includes needed for implementation of RenameFile. This is not in +// system tools because it is not implemented robustly enough to move +// files across directories. +#ifdef _WIN32 +# include +# include +#endif //---------------------------------------------------------------------- cmCPackTarCompressGenerator::cmCPackTarCompressGenerator()