summaryrefslogtreecommitdiff
path: root/src/wc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wc.c')
-rw-r--r--src/wc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wc.c b/src/wc.c
index b4464d2c4..884f86a50 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -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) \