Sfoglia il codice sorgente

COMP: Add include of <limits.h> to get USHRT_MAX constant.

Brad King 18 anni fa
parent
commit
f5d86035f2
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      Source/CPack/cmCPackDebGenerator.cxx

+ 2 - 0
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