summaryrefslogtreecommitdiff
path: root/include/nl_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nl_types.h')
-rw-r--r--include/nl_types.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/nl_types.h b/include/nl_types.h
new file mode 100644
index 00000000..ca61efb6
--- /dev/null
+++ b/include/nl_types.h
@@ -0,0 +1,24 @@
+#ifndef _NL_TYPES_H
+#define _NL_TYPES_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define NL_SETD 1
+#define NL_CAT_LOCALE 1
+
+#define __NEED_nl_item
+#include <bits/alltypes.h>
+
+typedef long nl_catd;
+
+nl_catd catopen (const char *, int);
+char *catgets (nl_catd, int, int, const char *);
+int catclose (nl_catd);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif