OSDN Git Service

guard nl_catd structure and related constants with STRICT_HEADERS
authorPeter S. Mazinger <ps.m@gmx.net>
Thu, 3 Mar 2011 11:44:18 +0000 (12:44 +0100)
committerPeter S. Mazinger <ps.m@gmx.net>
Thu, 3 Mar 2011 17:22:52 +0000 (18:22 +0100)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
include/nl_types.h

index d6d48ec..e54612a 100644 (file)
 
 #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;