summaryrefslogtreecommitdiff
path: root/x11-misc/ktsuss/files/ktsuss-2.1-clang16.patch
blob: e0763c688a62f738e06a06a1bea26ef6ddd39003 (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
28
29
https://bugs.gentoo.org/874540
--- a/src/ktsuss.c
+++ b/src/ktsuss.c
@@ -38,2 +38,3 @@
 #include <sys/types.h>
+#include <err.h>
 #include <errno.h>
--- a/src/su_backend.c
+++ b/src/su_backend.c
@@ -40,2 +40,3 @@
 #include <sys/types.h>
+#include <err.h>
 #include <errno.h>
@@ -54,2 +55,4 @@
 
+void tty_raw(int ttyfd);
+
 static struct termios orig_termios;
--- a/src/sudo_backend.c
+++ b/src/sudo_backend.c
@@ -40,2 +40,3 @@
 #include <sys/types.h>
+#include <err.h>
 #include <errno.h>
@@ -55,2 +56,4 @@
 
+void tty_raw(int ttyfd);
+
 static struct termios orig_termios;