X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flanginfo.h;h=2153c42e99e13484be31c7c2db6a7a5f09571c83;hb=9505bfbc40fec217820abad7142663eda60cd6be;hp=c6349ad12746f308cd5dec20e3e5bf6b4dae55b4;hpb=9448b0513e2eec020fbca9c10412b83df5027a16;p=musl diff --git a/include/langinfo.h b/include/langinfo.h index c6349ad1..2153c42e 100644 --- a/include/langinfo.h +++ b/include/langinfo.h @@ -5,6 +5,7 @@ extern "C" { #endif +#include #include #define __NEED_locale_t @@ -75,8 +76,11 @@ extern "C" { #define THOUSEP 0x10001 #define YESEXPR 0x50000 #define NOEXPR 0x50001 + +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #define YESSTR 0x50002 #define NOSTR 0x50003 +#endif char *nl_langinfo(nl_item); char *nl_langinfo_l(nl_item, locale_t);