diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmCPluginAPI.cxx | 6 | ||||
-rw-r--r-- | Source/cmLoadCommandCommand.cxx | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index a184ece..a03a70a 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -24,6 +24,12 @@ #include "cmSourceFile.h" +#include <stdlib.h> + +#ifdef __QNX__ +# include <malloc.h> /* for malloc/free on QNX */ +#endif + extern "C" { diff --git a/Source/cmLoadCommandCommand.cxx b/Source/cmLoadCommandCommand.cxx index e13449c..fe73ee8 100644 --- a/Source/cmLoadCommandCommand.cxx +++ b/Source/cmLoadCommandCommand.cxx @@ -21,6 +21,12 @@ #include <cmsys/DynamicLoader.hxx> +#include <stdlib.h> + +#ifdef __QNX__ +# include <malloc.h> /* for malloc/free on QNX */ +#endif + #include <signal.h> extern "C" void TrapsForSignalsCFunction(int sig); |