summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2004-08-12 12:19:11 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2004-08-12 12:19:11 +0000
commitde6c9c9d5bf3ec1f15d6196253f08c327a504fa7 (patch)
tree802ec2593ce866aa0d0473bfc2cd7c04d0f9cd00 /include/wchar.h
parentb9de27c0051bd9c4ce167327b5824a31baee1474 (diff)
downloadsrc-test2-de6c9c9d5bf3ec1f15d6196253f08c327a504fa7.tar.gz
src-test2-de6c9c9d5bf3ec1f15d6196253f08c327a504fa7.zip
Notes
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h
index c4be1e5244ca..931a4088ef78 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -71,6 +71,7 @@
#include <sys/_null.h>
#include <sys/_types.h>
#include <machine/_limits.h>
+#include <_ctype.h>
#ifndef _MBSTATE_T_DECLARED
typedef __mbstate_t mbstate_t;
@@ -206,6 +207,7 @@ unsigned long long
#if __XSI_VISIBLE
int wcswidth(const wchar_t *, size_t);
int wcwidth(wchar_t);
+#define wcwidth(_c) __wcwidth(_c)
#endif
#if __BSD_VISIBLE