summaryrefslogtreecommitdiff
path: root/x11-misc/x2vnc/files/x2vnc-1.7.2-clang16.patch
blob: 7b9cd1b50b694c00e950cefe64175a7d68b601eb (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
30
31
32
33
https://bugs.gentoo.org/870652
--- a/rfbproto.c
+++ b/rfbproto.c
@@ -25,2 +25,4 @@
 
+#include <ctype.h>
+#include <time.h>
 #include <unistd.h>
--- a/sockets.c
+++ b/sockets.c
@@ -33,2 +33,3 @@
 void PrintInHex(char *buf, int len);
+int tunnel(char *gatewayhost, char *remotehost, int remoteport);
 
--- a/vncauth.c
+++ b/vncauth.c
@@ -28,2 +28,4 @@
 #include <sys/stat.h>
+#include <time.h>
+#include <unistd.h>
 #include <vncauth.h>
--- a/x.c
+++ b/x.c
@@ -26,2 +26,3 @@
 #include <sys/types.h>
+#include <time.h>
 #include <unistd.h>
--- a/x2vnc.c
+++ b/x2vnc.c
@@ -25,2 +25,3 @@
 
+#include <time.h>
 #include <unistd.h>