Minix editline v0.1.2

=====================

Don't use AC_FUNC_MALLOC/REALLOC to check for malloc()/realloc() this seems to
confuse not only AIX but also embedded targets using uClibc (Snapgear).  Instead
we now check for malloc.h and include that in the internal editline.h
This commit is contained in:
Joachim Nilsson
2008-06-08 23:49:32 +02:00
parent c76941f24f
commit 4f88d8d823
4 changed files with 31 additions and 498 deletions

View File

@@ -4,6 +4,9 @@
*/
#include <config.h>
#include <stdio.h>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif