From f644063d6fbb41996b76156464a3017ce991c984 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Thu, 23 Sep 2004 16:11:47 +0000 Subject: make use of HAVE_MALLOC_H and HAVE_STDLIB_H from config.h CVS patchset: 6996 CVS date: 2004/09/23 16:11:47 --- lib/strndup.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/strndup.c') diff --git a/lib/strndup.c b/lib/strndup.c index 1b9170d3d..ab7c44626 100644 --- a/lib/strndup.c +++ b/lib/strndup.c @@ -1,8 +1,10 @@ #include "config.h" -#ifndef HOST_OS_DARWIN +#ifdef HAVE_MALLOC_H #include -#else +#endif + +#ifdef HAVE_STDLIB_H #include #endif -- cgit v1.2.3