summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2005-04-14 20:59:10 +0000
committerespie <espie@openbsd.org>2005-04-14 20:59:10 +0000
commitbc92a55614afdf8836a7f7cf7ceb4aff145fc23f (patch)
tree5d8c02392591a8ef5bdd190c7e70ce4d8b869fa9 /lib/libc/locale
parentinternal _BSD_WCTRANS_T_, _BSD_MSTATE_T_, _BSD_WCTYPE_T_ types. (diff)
downloadwireguard-openbsd-bc92a55614afdf8836a7f7cf7ceb4aff145fc23f.tar.xz
wireguard-openbsd-bc92a55614afdf8836a7f7cf7ceb4aff145fc23f.zip
introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@ thanks to everyone who commented on that.
Diffstat (limited to 'lib/libc/locale')
-rw-r--r--lib/libc/locale/Makefile.inc4
-rw-r--r--lib/libc/locale/runetype.h11
2 files changed, 14 insertions, 1 deletions
diff --git a/lib/libc/locale/Makefile.inc b/lib/libc/locale/Makefile.inc
index 0784dda22f3..d5b0ae30a2c 100644
--- a/lib/libc/locale/Makefile.inc
+++ b/lib/libc/locale/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.4 1998/11/20 11:18:42 d Exp $
+# $OpenBSD: Makefile.inc,v 1.5 2005/04/14 20:59:10 espie Exp $
# locale sources
.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/locale ${LIBCSRCDIR}/locale
@@ -8,3 +8,5 @@ SRCS+= _def_messages.c _def_monetary.c _def_numeric.c _def_time.c \
MAN+= nl_langinfo.3 setlocale.3
MLINKS+=setlocale.3 localeconv.3
+
+CFLAGS+=-I${.CURDIR}
diff --git a/lib/libc/locale/runetype.h b/lib/libc/locale/runetype.h
new file mode 100644
index 00000000000..f47d6a03129
--- /dev/null
+++ b/lib/libc/locale/runetype.h
@@ -0,0 +1,11 @@
+/* $OpenBSD: runetype.h,v 1.1 2005/04/14 20:59:10 espie Exp $ */
+
+#ifndef _NB_RUNETYPE_H_
+#define _NB_RUNETYPE_H_
+
+#include <sys/cdefs.h>
+#include <sys/types.h>
+
+typedef uint32_t __nbrune_t;
+
+#endif