X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fwctype.h;h=3ac24f13841a762c1ee948cffed32c19841162e3;hb=476cd1d96560aaf7f210319597556e7fbcd60469;hp=8c544f24bb538df4ca2811dfd993aa2b68812046;hpb=c4dd0c98bae8e3583f68ba5b30db491055ab2322;p=musl diff --git a/include/wctype.h b/include/wctype.h index 8c544f24..3ac24f13 100644 --- a/include/wctype.h +++ b/include/wctype.h @@ -11,7 +11,7 @@ extern "C" { #define __NEED_wctype_t #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ - || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) + || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #define __NEED_locale_t #endif @@ -47,7 +47,7 @@ wctype_t wctype(const char *); #define iswdigit(a) (((unsigned)(a)-L'0') < 10) #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ - || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) + || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) int iswalnum_l(wint_t, locale_t); int iswalpha_l(wint_t, locale_t);