From bea88d8cc810cba28c6408508404b187b2ea329a Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Thu, 23 Sep 2004 16:09:03 +0000 Subject: fixed compilation on MacOSX CVS patchset: 6995 CVS date: 2004/09/23 16:09:03 --- lib/strndup.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/strndup.c b/lib/strndup.c index f2caa70f2..1b9170d3d 100644 --- a/lib/strndup.c +++ b/lib/strndup.c @@ -1,6 +1,11 @@ #include "config.h" +#ifndef HOST_OS_DARWIN #include +#else +#include +#endif + #include char *_xine_private_strndup(const char *s, size_t n) { -- cgit v1.2.3