From 658d38e0af541ef9347eaba5c1aa7430573023e4 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 1 Aug 2006 14:31:24 -0400 Subject: COMP: Added missing includes. This partially addresses bug#3556. --- Source/cmCPluginAPI.cxx | 6 ++++++ Source/cmLoadCommandCommand.cxx | 6 ++++++ 2 files changed, 12 insertions(+) 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 + +#ifdef __QNX__ +# include /* 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 +#include + +#ifdef __QNX__ +# include /* for malloc/free on QNX */ +#endif + #include extern "C" void TrapsForSignalsCFunction(int sig); -- cgit v0.12