소스 검색

COMP: Add missing malloc.h include for QNX.

Brad King 19 년 전
부모
커밋
1fec884bcb
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      Source/cmStandardLexer.h

+ 5 - 0
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