$NetBSD$

--- dox/file.c.orig	2004-07-01 20:51:46.000000000 +0200
+++ dox/file.c
@@ -26,6 +26,11 @@
 # include <wctype.h>
 #endif
 
+#include <sys/param.h>
+#if defined(__NetBSD_Version__) && (__NetBSD_Version__ < 106210000)
+typedef unsigned int wctype_t;
+#endif
+
 static int
 exists(char *s)
 {
@@ -175,6 +180,7 @@ word_mb(char *s, int num, char *wd, int 
      }
 
    /*  Check multibyte character class is available or not */
+/*
    wcflg = 0;
    for (cc = char_class_tbl; cc->name != NULL; cc++)
      {
@@ -182,7 +188,7 @@ word_mb(char *s, int num, char *wd, int 
 	if (cc->wt != (wctype_t) 0)
 	   wcflg = 1;
      }
-
+*/
    cnt = 0;
    i = 0;
    start = NULL;
