diff options
| author | Jim Meyering <jim@meyering.net> | 2007-07-08 10:16:44 +0200 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2007-07-08 12:39:24 +0200 |
| commit | 1cea914143cab171beaad1f3df60566bcfa48cff (patch) | |
| tree | 82b8b17b86dbcc0d0e257c82f01537ce304d024c /src/wc.c | |
| parent | Fix typo in comment. (diff) | |
| download | coreutils-1cea914143cab171beaad1f3df60566bcfa48cff.tar.gz coreutils-1cea914143cab171beaad1f3df60566bcfa48cff.zip | |
Use <wchar.h>, not "wcwidth.h".
* src/wc.c: Now that gnulib provides the POSIX-specified <wchar.h>,
include it and <wctype.h>, rather than "wcwidth.h".
* src/ls.c: Include <wchar.h>, rather than "wcwidth.h".
Diffstat (limited to 'src/wc.c')
| -rw-r--r-- | src/wc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -23,6 +23,8 @@ #include <stdio.h> #include <getopt.h> #include <sys/types.h> +#include <wchar.h> +#include <wctype.h> #include "system.h" #include "error.h" @@ -30,7 +32,6 @@ #include "quote.h" #include "readtokens0.h" #include "safe-read.h" -#include "wcwidth.h" #if !defined iswspace && !HAVE_ISWSPACE # define iswspace(wc) \ |
