$NetBSD: patch-aa,v 1.11 2004/06/22 14:05:39 minskim Exp $

--- config-bot.h.orig	Tue Apr 16 23:01:03 2002
+++ config-bot.h	Tue Dec 17 15:34:52 2002
@@ -107,7 +107,7 @@
 #if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H)
 #  include <wchar.h>
 #  include <wctype.h>
-#  if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */
+#  if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ && defined (HAVE_WCTYPE_T)
 #    define HANDLE_MULTIBYTE      1
 #  endif
 #endif
