[cmake-commits] king committed cmCPackDebGenerator.cxx 1.19 1.20

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 24 07:32:01 EST 2008


Update of /cvsroot/CMake/CMake/Source/CPack
In directory public:/mounts/ram/cvs-serv4974

Modified Files:
	cmCPackDebGenerator.cxx 
Log Message:
COMP: Add include of <limits.h> to get USHRT_MAX constant.


Index: cmCPackDebGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CPack/cmCPackDebGenerator.cxx,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- cmCPackDebGenerator.cxx	6 Nov 2007 13:27:43 -0000	1.19
+++ cmCPackDebGenerator.cxx	24 Jan 2008 12:31:59 -0000	1.20
@@ -24,6 +24,8 @@
 #include <cmsys/SystemTools.hxx>
 #include <cmsys/Glob.hxx>
 
+#include <limits.h> // USHRT_MAX
+
 // NOTE:
 // A debian package .deb is simply an 'ar' archive. The only subtle difference
 // is that debian uses the BSD ar style archive whereas most Linux distro have



More information about the Cmake-commits mailing list