$NetBSD: patch-ae,v 1.1 2002/12/12 03:17:14 dmcmahill Exp $

--- regex.c.orig	Wed Apr 17 07:42:40 2002
+++ regex.c
@@ -51,7 +51,7 @@
 # include <sys/types.h>
 #endif
 
-#if defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H && defined HAVE_MBRTOWC
+#if defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H && defined HAVE_MBRTOWC && !defined(__NetBSD__)
 /* We can handle multibyte string.  */
 # define MBS_SUPPORT
 # if !WIDE_CHAR_SUPPORT
