From 63a16d7e6832b65769e7c2be0aed39b8ff8cf741 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 3 Mar 2011 12:44:18 +0100 Subject: guard nl_catd structure and related constants with STRICT_HEADERS Signed-off-by: Peter S. Mazinger --- include/nl_types.h | 4 ++++ 1 file changed, 4 insertions(+) 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 +#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; -- cgit v1.2.3