summaryrefslogtreecommitdiff
path: root/package/ympd/patches/patch-src_mpd_client_h
blob: 06248b2ea0732bd0d4e9216a6486fcc5409fe1a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- ympd-612f8fc0b2c47fc89d403e4a044541c6b2b238c8.orig/src/mpd_client.h	2023-01-22 15:17:39.000000000 +0100
+++ ympd-612f8fc0b2c47fc89d403e4a044541c6b2b238c8/src/mpd_client.h	2023-01-22 15:23:26.726407119 +0100
@@ -96,9 +96,11 @@ struct t_mpd {
 
     int song_id;
     unsigned queue_version;
-} mpd;
+};
 
-char dirble_api_token[28];
+extern struct t_mpd mpd;
+
+extern char dirble_api_token[28];
 
 struct t_mpd_client_session {
     int song_id;