diff --git a/newlib/libc/include/langinfo.h b/newlib/libc/include/langinfo.h index 59381d6b6..458b92565 100644 --- a/newlib/libc/include/langinfo.h +++ b/newlib/libc/include/langinfo.h @@ -36,7 +36,10 @@ #include #endif +#ifndef _NL_ITEM_DECLARED typedef int nl_item; +#define _NL_ITEM_DECLARED +#endif enum __nl_item {