From 2763b9880a7aab569694d6ee3170dd7341a26b84 Mon Sep 17 00:00:00 2001 From: "Issam E. Maghni" <issam.e.maghni@mailbox.org> Date: Fri, 23 Apr 2021 16:53:39 -0400 Subject: [PATCH] escape.c: Fix missing nl_langinfo on certain configs [Retrieved from: https://gitlab.com/procps-ng/procps/-/commit/2763b9880a7aab569694d6ee3170dd7341a26b84] Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- proc/escape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc/escape.c b/proc/escape.c index 2e8fb7dd..cf4a80de 100644 --- a/proc/escape.c +++ b/proc/escape.c @@ -24,13 +24,13 @@ #include "procps.h" #include "escape.h" #include "readproc.h" +#include "nls.h" #if (__GNU_LIBRARY__ >= 6) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_WCHAR__)) # include <wchar.h> # include <wctype.h> # include <stdlib.h> /* MB_CUR_MAX */ # include <ctype.h> -# include <langinfo.h> #endif #define SECURE_ESCAPE_ARGS(dst, bytes, cells) do { \ -- GitLab