summaryrefslogtreecommitdiffhomepage
path: root/patches/procps_ng-3.3.17.local.patch
blob: 40afa885be08c135fee66ad50bafb13e2f991504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff -ru procps-3.3.17.orig/proc/escape.c procps-3.3.17/proc/escape.c
--- procps-3.3.17.orig/proc/escape.c	2022-02-05 23:39:09.677115085 +0100
+++ procps-3.3.17/proc/escape.c	2022-02-05 23:32:43.385130312 +0100
@@ -21,6 +21,7 @@
 #include <sys/types.h>
 #include <string.h>
 #include <limits.h>
+#include <langinfo.h>
 #include "procps.h"
 #include "escape.h"
 #include "readproc.h"
diff -ru procps-3.3.17.orig/w.c procps-3.3.17/w.c
--- procps-3.3.17.orig/w.c	2021-02-09 11:11:25.000000000 +0100
+++ procps-3.3.17/w.c	2022-02-05 23:38:48.901114668 +0100
@@ -55,11 +55,7 @@
 #include <termios.h>
 #include <time.h>
 #include <unistd.h>
-#ifdef HAVE_UTMPX_H
-#	include <utmpx.h>
-#else
-#	include <utmp.h>
-#endif
+#include <utmp.h>
 #include <arpa/inet.h>
 
 static int ignoreuser = 0;	/* for '-u' */