From 1fec884bcbbcbb91a66443c6f37fc7cff8e606ae Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 24 Aug 2006 09:34:53 -0400 Subject: COMP: Add missing malloc.h include for QNX. --- Source/cmStandardLexer.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/cmStandardLexer.h b/Source/cmStandardLexer.h index 0cac8ad..5798242 100644 --- a/Source/cmStandardLexer.h +++ b/Source/cmStandardLexer.h @@ -64,6 +64,11 @@ # define YY_NO_UNISTD_H 1 #endif +/* Make sure malloc and free are available on QNX. */ +#ifdef __QNX__ +# include +#endif + /* Disable features we do not need. */ #define YY_NEVER_INTERACTIVE 1 #define YY_NO_INPUT 1 -- cgit v0.12