mirror of
https://github.com/troglobit/editline.git
synced 2025-09-16 00:08:11 +08:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user