summaryrefslogtreecommitdiff
path: root/x11-misc/xdock/files/xdock-0.3.0-clang16.patch
blob: 17db7dbb0433ed1d98a4e73ac34e7f1a87a55fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
https://bugs.gentoo.org/871549
--- a/src/docks/xdcalendar.c
+++ b/src/docks/xdcalendar.c
@@ -1,2 +1,3 @@
 #include <xdock.h>
+#include <ctype.h>
 #include <getopt.h>
--- a/src/docks/xdmemory.c
+++ b/src/docks/xdmemory.c
@@ -1,2 +1,3 @@
 #include <xdock.h>
+#include <ctype.h>
 #include <getopt.h>
--- a/src/lib/network.c
+++ b/src/lib/network.c
@@ -10,2 +10,3 @@
 #	include <fcntl.h>
+#	include <unistd.h>
 #	define INVALID_SOCKET -1