@@ -24,6 +24,12 @@
#include "cmSourceFile.h"
+#include <stdlib.h>
+
+#ifdef __QNX__
+# include <malloc.h> /* for malloc/free on QNX */
+#endif
extern "C"
{
@@ -21,6 +21,12 @@
#include <cmsys/DynamicLoader.hxx>
#include <signal.h>
extern "C" void TrapsForSignalsCFunction(int sig);