* src/wc.c: Do not include mbchar.h.
(wc): Check for ASCII characters instead of using is_basic.
Other parts of Gnulib and coreutils already assume the encoding
is upward compatible with ASCII, and the old code wouldn’t
have worked anyway with shift-JIS.
#include "argmatch.h"
#include "argv-iter.h"
#include "fadvise.h"
-#include "mbchar.h"
#include "physmem.h"
#include "readtokens0.h"
#include "safe-read.h"
size_t n;
bool wide = true;
- if (!in_shift && is_basic (*p))
+ if (!in_shift && 0 <= *p && *p < 0x80)
{
/* Handle most ASCII characters quickly, without calling
mbrtowc(). */