b863e90ee3
While here: Fix build on NetBSD-current.
13 lines
447 B
Text
13 lines
447 B
Text
$NetBSD: patch-ac,v 1.1 2002/12/25 19:50:36 wiz Exp $
|
|
|
|
--- src/search.c.orig Thu Apr 19 05:42:14 2001
|
|
+++ src/search.c
|
|
@@ -22,7 +22,7 @@
|
|
# include <config.h>
|
|
#endif
|
|
#include <sys/types.h>
|
|
-#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 HAVE_WCTYPE
|
|
/* We can handle multibyte string. */
|
|
# define MBS_SUPPORT
|
|
# include <wchar.h>
|