* Check for malloc.h.

This commit is contained in:
Sam Hocevar
2007-01-10 17:19:48 +00:00
committed by sam
parent 8258e9394a
commit 84eccf4cb6
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ AM_PROG_CC_C_O
AC_PROG_CPP
AC_PROG_LIBTOOL
AC_CHECK_HEADERS(inttypes.h stdint.h getopt.h libc.h)
AC_CHECK_HEADERS(inttypes.h stdint.h getopt.h libc.h malloc.h)
AC_CHECK_FUNCS(open64 lseek64 mmap64 fopen64 fseeko _IO_getc getline getdelim __getdelim fgetln __srefill map_fd)
AC_CHECK_TYPES(sighandler_t, [], [],
[#define _GNU_SOURCE
+3 -1
View File
@@ -36,7 +36,9 @@
#include <errno.h>
#include <signal.h>
#include <malloc.h>
#if defined HAVE_MALLOC_H
# include <malloc.h>
#endif
#include <unistd.h>
#include <sys/mman.h>
#if defined HAVE_LIBC_H