summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardLexer.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-24 13:34:53 (GMT)
committerBrad King <brad.king@kitware.com>2006-08-24 13:34:53 (GMT)
commit1fec884bcbbcbb91a66443c6f37fc7cff8e606ae (patch)
tree378d455a748e04b98074cbc91e516c6837f576fa /Source/cmStandardLexer.h
parent67944af4030db8f115c97a70e0097140eecfef7e (diff)
downloadCMake-1fec884bcbbcbb91a66443c6f37fc7cff8e606ae.zip
CMake-1fec884bcbbcbb91a66443c6f37fc7cff8e606ae.tar.gz
CMake-1fec884bcbbcbb91a66443c6f37fc7cff8e606ae.tar.bz2
COMP: Add missing malloc.h include for QNX.
Diffstat (limited to 'Source/cmStandardLexer.h')
-rw-r--r--Source/cmStandardLexer.h5
1 files changed, 5 insertions, 0 deletions
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 <malloc.h>
+#endif
+
/* Disable features we do not need. */
#define YY_NEVER_INTERACTIVE 1
#define YY_NO_INPUT 1