summaryrefslogtreecommitdiff
path: root/include/nl_types.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-09-18 05:51:23 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-09-18 05:51:23 +0000
commitf4a1f909c6649da6f4f2be4a6b2fea4de78f5de3 (patch)
treeb9736d9a2e899fec06a98feae11dce94172ce381 /include/nl_types.h
parentbed4636e02fb59590f9da06d2a5f4d284d1bf578 (diff)
downloadsrc-test2-f4a1f909c6649da6f4f2be4a6b2fea4de78f5de3.tar.gz
src-test2-f4a1f909c6649da6f4f2be4a6b2fea4de78f5de3.zip
Move definition of nl_item type to <sys/_types.h>, so that it can be
shared.
Notes
Notes: svn path=/head/; revision=103521
Diffstat (limited to 'include/nl_types.h')
-rw-r--r--include/nl_types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/nl_types.h b/include/nl_types.h
index afd7f9f5f824..43eee1f2f9db 100644
--- a/include/nl_types.h
+++ b/include/nl_types.h
@@ -39,7 +39,11 @@ up-to-date. Many thanks.
#define NL_SETD 0
#define NL_CAT_LOCALE 1
-typedef int nl_item;
+#ifndef _NL_ITEM_DECLARED
+typedef __nl_item nl_item;
+#define _NL_ITEM_DECLARED
+#endif
+
typedef void *nl_catd;
__BEGIN_DECLS