diff --git a/libc/locale/lib_setlocale.c b/libc/locale/lib_setlocale.c index fbd621a110..e5b576508d 100644 --- a/libc/locale/lib_setlocale.c +++ b/libc/locale/lib_setlocale.c @@ -40,10 +40,10 @@ #include #include +#include #include #ifdef CONFIG_LIBC_LOCALE -#include /**************************************************************************** * Public Functions @@ -63,8 +63,7 @@ FAR char *setlocale(int category, FAR const char *locale) { - - return ((strcmp (locale, "POSIX") == 0 || strcmp (locale, "C") == 0 || - strcmp (locale, "") == 0) ? "C" : NULL); + return ((strcmp(locale, "POSIX") == 0 || strcmp(locale, "C") == 0 || + strcmp(locale, "") == 0) ? "C" : NULL); } #endif