Changeset 1642 for zzuf


Ignore:
Timestamp:
Jan 10, 2007, 6:19:48 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Check for malloc.h.
Location:
zzuf/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/configure.ac

    r1631 r1642  
    1515AC_PROG_LIBTOOL
    1616
    17 AC_CHECK_HEADERS(inttypes.h stdint.h getopt.h libc.h)
     17AC_CHECK_HEADERS(inttypes.h stdint.h getopt.h libc.h malloc.h)
    1818AC_CHECK_FUNCS(open64 lseek64 mmap64 fopen64 fseeko _IO_getc getline getdelim __getdelim fgetln __srefill map_fd)
    1919AC_CHECK_TYPES(sighandler_t, [], [],
  • zzuf/trunk/src/load-mem.c

    r1641 r1642  
    3737#include <signal.h>
    3838
    39 #include <malloc.h>
     39#if defined HAVE_MALLOC_H
     40#   include <malloc.h>
     41#endif
    4042#include <unistd.h>
    4143#include <sys/mman.h>
Note: See TracChangeset for help on using the changeset viewer.