summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackDebGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-24 12:31:59 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-24 12:31:59 (GMT)
commitf5d86035f285816f174de6d0b14833f5b48d048b (patch)
tree1760099e950994425871531eab6f22c469243705 /Source/CPack/cmCPackDebGenerator.cxx
parent8b1117e6c908e8b10481fdba53c5b782f086783c (diff)
downloadCMake-f5d86035f285816f174de6d0b14833f5b48d048b.zip
CMake-f5d86035f285816f174de6d0b14833f5b48d048b.tar.gz
CMake-f5d86035f285816f174de6d0b14833f5b48d048b.tar.bz2
COMP: Add include of <limits.h> to get USHRT_MAX constant.
Diffstat (limited to 'Source/CPack/cmCPackDebGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackDebGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx
index efe543a..2a9d222 100644
--- a/Source/CPack/cmCPackDebGenerator.cxx
+++ b/Source/CPack/cmCPackDebGenerator.cxx
@@ -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