escape.c: Fix missing nl_langinfo on certain configs

This commit is contained in:
Issam E. Maghni 2021-04-23 16:53:39 -04:00 committed by Craig Small
parent 1524a625e6
commit 2763b9880a

View File

@ -24,13 +24,13 @@
#include "procps.h" #include "procps.h"
#include "escape.h" #include "escape.h"
#include "readproc.h" #include "readproc.h"
#include "nls.h"
#if (__GNU_LIBRARY__ >= 6) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_WCHAR__)) #if (__GNU_LIBRARY__ >= 6) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_WCHAR__))
# include <wchar.h> # include <wchar.h>
# include <wctype.h> # include <wctype.h>
# include <stdlib.h> /* MB_CUR_MAX */ # include <stdlib.h> /* MB_CUR_MAX */
# include <ctype.h> # include <ctype.h>
# include <langinfo.h>
#endif #endif
#define SECURE_ESCAPE_ARGS(dst, bytes, cells) do { \ #define SECURE_ESCAPE_ARGS(dst, bytes, cells) do { \