diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2020-12-16 09:02:09 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2020-12-30 10:44:23 +0000 |
| commit | d3912bec58d0b82509a0973cae02f156986d88fa (patch) | |
| tree | 8195cf220f52c3ef23943676e77234faa69967e1 /include | |
| parent | 0efb22eebbbbd5f164cab39dca72a78cce82afe3 (diff) | |
Diffstat (limited to 'include')
| -rw-r--r-- | include/string.h | 2 | ||||
| -rw-r--r-- | include/xlocale/_string.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h index 3c5cceaeb857..774cf5fe9756 100644 --- a/include/string.h +++ b/include/string.h @@ -140,7 +140,7 @@ int timingsafe_bcmp(const void *, const void *, size_t); int timingsafe_memcmp(const void *, const void *, size_t); #endif /* __BSD_VISIBLE */ -#if __POSIX_VISIBLE >= 200809 || defined(_XLOCALE_H_) +#if __POSIX_VISIBLE >= 200112 || defined(_XLOCALE_H_) #include <xlocale/_string.h> #endif diff --git a/include/xlocale/_string.h b/include/xlocale/_string.h index 7fdad7562860..6df9132de171 100644 --- a/include/xlocale/_string.h +++ b/include/xlocale/_string.h @@ -46,6 +46,7 @@ typedef struct _xlocale *locale_t; * POSIX2008 functions */ int strcoll_l(const char *, const char *, locale_t); +char *strerror_l(int num, locale_t); size_t strxfrm_l(char *, const char *, size_t, locale_t); #endif /* _XLOCALE_STRING1_H */ |
