summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-13 21:08:38 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-13 21:08:38 (GMT)
commit57e14a4f97d230da6cb6b95590d195ef86672daf (patch)
tree0ffc8525f56556183397959c7fb9b3c37f838bef /Source/cmSystemTools.cxx
parent11d42b3e8f17c2b99838045545ae82df54a80b98 (diff)
downloadCMake-57e14a4f97d230da6cb6b95590d195ef86672daf.zip
CMake-57e14a4f97d230da6cb6b95590d195ef86672daf.tar.gz
CMake-57e14a4f97d230da6cb6b95590d195ef86672daf.tar.bz2
COMP: Include <malloc.h> for 'free' on QNX
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 542d4cc..d0ed2d6 100644
--- a/Source/cmSystemTools.cxx
+++ b/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>