summaryrefslogtreecommitdiff
path: root/x11-misc/trayer/files/trayer-1.0-fix-incompatible-pointer-types.patch
blob: e2d750641214f28994f9c3220c2150f69e5f9da6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Clang16 will not allow incompatible pointer types by default.

Bug: https://bugs.gentoo.org/881081

Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
--- a/plugin.h
+++ b/plugin.h
@@ -9,6 +9,8 @@
 #include <stdio.h>
 #include "panel.h"
 
+struct _plugin;
+
 typedef struct {
     /* common */
     char *fname;
-- 
2.38.1