summaryrefslogtreecommitdiff
path: root/include/wctype.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-08-21 16:20:02 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-08-21 16:20:02 +0000
commitabbd8902334e8c6409384593b4a2c81f939b47b4 (patch)
tree7e9e16e835d265de592c113ee6c5d85f9be039cb /include/wctype.h
parent9884a53c1a3e4753e347c793df6af4bd0298eab2 (diff)
downloadsrc-test2-abbd8902334e8c6409384593b4a2c81f939b47b4.tar.gz
src-test2-abbd8902334e8c6409384593b4a2c81f939b47b4.zip
Notes
Diffstat (limited to 'include/wctype.h')
-rw-r--r--include/wctype.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/wctype.h b/include/wctype.h
index 2865184b19cc..359cc3ba9930 100644
--- a/include/wctype.h
+++ b/include/wctype.h
@@ -32,7 +32,7 @@
#define _WCTYPE_H_
#include <sys/cdefs.h>
-#include <machine/ansi.h>
+#include <sys/_types.h>
#include <ctype.h>
@@ -46,9 +46,9 @@ typedef unsigned long wctype_t;
#define _WCTYPE_T
#endif
-#ifdef _BSD_WINT_T_
-typedef _BSD_WINT_T_ wint_t;
-#undef _BSD_WINT_T_
+#ifndef _WINT_T_DECLARED
+typedef __wint_t wint_t;
+#define _WINT_T_DECLARED
#endif
#ifndef WEOF