$NetBSD: patch-ab,v 1.3 2009/06/08 09:54:50 hasso Exp $

--- lib/fnmatch_loop.c.orig	2009-01-16 09:58:31 +0200
+++ lib/fnmatch_loop.c	2009-06-08 12:22:55 +0300
@@ -242,7 +242,7 @@ FCT (const CHAR *pattern, const CHAR *st
 		    CHAR str[CHAR_CLASS_MAX_LENGTH + 1];
 		    size_t c1 = 0;
 #if defined _LIBC || WIDE_CHAR_SUPPORT
-		    wctype_t wt;
+		    wint_t wt;
 #endif
 		    const CHAR *startp = p;
 
