diff options
author | Daniel Mack <zonque@users.sourceforge.net> | 2004-09-23 16:11:47 +0000 |
---|---|---|
committer | Daniel Mack <zonque@users.sourceforge.net> | 2004-09-23 16:11:47 +0000 |
commit | f644063d6fbb41996b76156464a3017ce991c984 (patch) | |
tree | 6c86bf8cadd7628c824718892b8b109b390c4b03 /lib | |
parent | bea88d8cc810cba28c6408508404b187b2ea329a (diff) | |
download | xine-lib-f644063d6fbb41996b76156464a3017ce991c984.tar.gz xine-lib-f644063d6fbb41996b76156464a3017ce991c984.tar.bz2 |
make use of HAVE_MALLOC_H and HAVE_STDLIB_H from config.h
CVS patchset: 6996
CVS date: 2004/09/23 16:11:47
Diffstat (limited to 'lib')
-rw-r--r-- | lib/strndup.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 <malloc.h> -#else +#endif + +#ifdef HAVE_STDLIB_H #include <stdlib.h> #endif |