ac98b6
diff -ru procps-3.3.17.orig/proc/escape.c procps-3.3.17/proc/escape.c
ac98b6
--- procps-3.3.17.orig/proc/escape.c	2022-02-05 23:39:09.677115085 +0100
ac98b6
+++ procps-3.3.17/proc/escape.c	2022-02-05 23:32:43.385130312 +0100
ac98b6
@@ -21,6 +21,7 @@
ac98b6
 #include <sys/types.h>
ac98b6
 #include <string.h>
ac98b6
 #include <limits.h>
ac98b6
+#include <langinfo.h>
ac98b6
 #include "procps.h"
ac98b6
 #include "escape.h"
ac98b6
 #include "readproc.h"
ac98b6
diff -ru procps-3.3.17.orig/w.c procps-3.3.17/w.c
ac98b6
--- procps-3.3.17.orig/w.c	2021-02-09 11:11:25.000000000 +0100
ac98b6
+++ procps-3.3.17/w.c	2022-02-05 23:38:48.901114668 +0100
ac98b6
@@ -55,11 +55,7 @@
ac98b6
 #include <termios.h>
ac98b6
 #include <time.h>
ac98b6
 #include <unistd.h>
ac98b6
-#ifdef HAVE_UTMPX_H
ac98b6
-#	include <utmpx.h>
ac98b6
-#else
ac98b6
-#	include <utmp.h>
ac98b6
-#endif
ac98b6
+#include <utmp.h>
ac98b6
 #include <arpa/inet.h>
ac98b6
 
ac98b6
 static int ignoreuser = 0;	/* for '-u' */