$NetBSD: patch-ac,v 1.1 2003/09/09 18:51:44 jmmv Exp $

--- src/filter.c.orig	2002-06-18 22:17:53.000000000 +0200
+++ src/filter.c
@@ -941,11 +941,11 @@ char *unindent_filter(char *indented)
 	       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;
 	  }
