1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-16 23:11:44 +02:00

Test for malloc.h.

This commit is contained in:
Konstantin Belousov 2010-04-03 23:34:33 +03:00
parent bd2798805a
commit 22b17269cf
2 changed files with 7 additions and 1 deletions

View file

@ -38,7 +38,7 @@ dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(asm/ptrace_offsets.h endian.h sys/endian.h execinfo.h \
ia64intrin.h sys/uc_access.h unistd.h signal.h sys/types.h \
sys/procfs.h)
sys/procfs.h malloc.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

View file

@ -25,8 +25,14 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/* This file tests dynamic code-generation via function-cloning. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <libunwind.h>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>