summaryrefslogtreecommitdiff
path: root/include/nl_types.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-03 12:44:18 +0100
committerPeter S. Mazinger <ps.m@gmx.net>2011-03-03 18:22:52 +0100
commit63a16d7e6832b65769e7c2be0aed39b8ff8cf741 (patch)
tree97d9343d9f35147ad488af3155052ccffbe5569f /include/nl_types.h
parentb776a692f8cc95c03853fcaf43833f9477ad8c36 (diff)
guard nl_catd structure and related constants with STRICT_HEADERS
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'include/nl_types.h')
-rw-r--r--include/nl_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/nl_types.h b/include/nl_types.h
index d6d48ecd9..e54612af7 100644
--- a/include/nl_types.h
+++ b/include/nl_types.h
@@ -21,11 +21,13 @@
#include <features.h>
+#ifndef __UCLIBC_STRICT_HEADERS__
/* The default message set used by the gencat program. */
#define NL_SETD 1
/* Value for FLAG parameter of `catgets' to say we want XPG4 compliance. */
#define NL_CAT_LOCALE 1
+#endif
__BEGIN_DECLS
@@ -34,8 +36,10 @@ __BEGIN_DECLS
#warning "mjn3 FIXME: None of these prototypes have implementations."
#endif
+#ifndef __UCLIBC_STRICT_HEADERS__
/* Message catalog descriptor type. */
typedef void *nl_catd;
+#endif
/* Type used by `nl_langinfo'. */
typedef int nl_item;