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