Browse Source

COMP: Include <malloc.h> for 'free' on QNX

Brad King 16 years ago
parent
commit
57e14a4f97
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Source/cmSystemTools.cxx

+ 3 - 0
Source/cmSystemTools.cxx

@@ -20,6 +20,9 @@
 #include <time.h>
 #include <string.h>
 #include <stdlib.h>
+#ifdef __QNX__
+# include <malloc.h> /* for malloc/free on QNX */
+#endif
 
 #include <cmsys/RegularExpression.hxx>
 #include <cmsys/Directory.hxx>