diff options
author | Brad King <brad.king@kitware.com> | 2006-08-24 09:34:53 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-24 09:34:53 -0400 |
commit | 1fec884bcbbcbb91a66443c6f37fc7cff8e606ae (patch) | |
tree | 378d455a748e04b98074cbc91e516c6837f576fa /Source/cmStandardLexer.h | |
parent | 67944af4030db8f115c97a70e0097140eecfef7e (diff) | |
download | cmake-1fec884bcbbcbb91a66443c6f37fc7cff8e606ae.tar.gz |
COMP: Add missing malloc.h include for QNX.
Diffstat (limited to 'Source/cmStandardLexer.h')
-rw-r--r-- | Source/cmStandardLexer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmStandardLexer.h b/Source/cmStandardLexer.h index 0cac8ad649..57982421bf 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 <malloc.h> +#endif + /* Disable features we do not need. */ #define YY_NEVER_INTERACTIVE 1 #define YY_NO_INPUT 1 |