escape.c: Fix missing nl_langinfo on certain configs
This commit is contained in:
parent
1524a625e6
commit
2763b9880a
@ -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 { \
|
||||||
|
Loading…
Reference in New Issue
Block a user