From 6e07e94d5dc29425d4f28995e7fed11ac618810d Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 4 Apr 2010 11:57:57 +0300 Subject: [PATCH] Revert "Test for malloc.h." This reverts commit 22b17269cf508711b0ab209b50f6a65882672bc8. --- configure.in | 2 +- tests/Gtest-dyn1.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/configure.in b/configure.in index f65459a0..2658e548 100644 --- a/configure.in +++ b/configure.in @@ -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 malloc.h) + sys/procfs.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST diff --git a/tests/Gtest-dyn1.c b/tests/Gtest-dyn1.c index 58ec8286..de9854dd 100644 --- a/tests/Gtest-dyn1.c +++ b/tests/Gtest-dyn1.c @@ -25,14 +25,8 @@ 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 -#ifdef HAVE_MALLOC_H #include -#endif #include #include #include