diff options
Diffstat (limited to 'string')
-rw-r--r-- | string/string.h | 3 | ||||
-rw-r--r-- | string/strings.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/string/string.h b/string/string.h index 5aec0efe7f..fb073d0b03 100644 --- a/string/string.h +++ b/string/string.h @@ -148,7 +148,8 @@ extern size_t strxfrm (char *__restrict __dest, __THROW __nonnull ((2)); #ifdef __USE_XOPEN2K8 -# include <xlocale.h> +/* POSIX.1-2008 extended locale interface (see locale.h). */ +# include <bits/types/locale_t.h> /* Compare the collated forms of S1 and S2, using sorting rules from L. */ extern int strcoll_l (const char *__s1, const char *__s2, __locale_t __l) diff --git a/string/strings.h b/string/strings.h index 43207af09c..53d1b5c944 100644 --- a/string/strings.h +++ b/string/strings.h @@ -121,7 +121,8 @@ extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) __THROW __attribute_pure__ __nonnull ((1, 2)); #ifdef __USE_XOPEN2K8 -# include <xlocale.h> +/* POSIX.1-2008 extended locale interface (see locale.h). */ +# include <bits/types/locale_t.h> /* Compare S1 and S2, ignoring case, using collation rules from LOC. */ extern int strcasecmp_l (const char *__s1, const char *__s2, __locale_t __loc) |