Browse Source

guard nl_catd structure and related constants with STRICT_HEADERS

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Peter S. Mazinger 13 years ago
parent
commit
63a16d7e68
1 changed files with 4 additions and 0 deletions
  1. 4 0
      include/nl_types.h

+ 4 - 0
include/nl_types.h

@@ -21,11 +21,13 @@
 
 
 #include <features.h>
 #include <features.h>
 
 
+#ifndef __UCLIBC_STRICT_HEADERS__
 /* The default message set used by the gencat program.  */
 /* The default message set used by the gencat program.  */
 #define NL_SETD 1
 #define NL_SETD 1
 
 
 /* Value for FLAG parameter of `catgets' to say we want XPG4 compliance.  */
 /* Value for FLAG parameter of `catgets' to say we want XPG4 compliance.  */
 #define NL_CAT_LOCALE 1
 #define NL_CAT_LOCALE 1
+#endif
 
 
 
 
 __BEGIN_DECLS
 __BEGIN_DECLS
@@ -34,8 +36,10 @@ __BEGIN_DECLS
 #warning "mjn3 FIXME: None of these prototypes have implementations."
 #warning "mjn3 FIXME: None of these prototypes have implementations."
 #endif
 #endif
 
 
+#ifndef __UCLIBC_STRICT_HEADERS__
 /* Message catalog descriptor type.  */
 /* Message catalog descriptor type.  */
 typedef void *nl_catd;
 typedef void *nl_catd;
+#endif
 
 
 /* Type used by `nl_langinfo'.  */
 /* Type used by `nl_langinfo'.  */
 typedef int nl_item;
 typedef int nl_item;