$NetBSD: patch-ac,v 1.2 2008/01/10 21:42:51 adam Exp $ --- src/filter.c.orig 2007-05-14 18:26:50.000000000 +0200 +++ src/filter.c @@ -1036,11 +1036,11 @@ static char *unindent_filter(char *inden break; default: /* caught spaces before -- this is testing for \n etc */ -#if defined(HAVE_ISWSPACE) +#if defined(HAVE_ISWSPACE) && defined(HAVE_BTOWC) if(!iswspace(btowc(c))) #else if(!isspace(c)) -#endif /* HAVE_ISWSPACE */ +#endif /* HAVE_ISWSPACE && HAVE_BTOWC */ unindented[f++] = c; break; }