COMP: Only include malloc.h on QNX.

This commit is contained in:
Brad King 2005-03-16 10:49:58 -05:00
parent 74ec81ca3f
commit 6b43d78dae
1 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,9 @@
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>
#include <malloc.h> /* for malloc/free on some systems */ #ifdef QNX /* TODO: Find real preprocessor for QNX. */
# include <malloc.h> /* for malloc/free on some systems */
#endif
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>