summaryrefslogtreecommitdiff
path: root/media-sound/mpd/files/mpd-0.24.15-fix_libcxx23.patch
blob: 43d64a8c94b8d1d55a7faabd8eaed12a29ad7dc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PR merged https://github.com/MusicPlayerDaemon/MPD/pull/2584.patch
add missing headers (fix libcxx23)
--- a/src/CommandLine.cxx
+++ b/src/CommandLine.cxx
@@ -55,6 +55,7 @@
 #include "archive/ArchivePlugin.hxx"
 #endif
 
+#include <cstdlib>
 #include <fmt/core.h>
 
 namespace {
--- a/src/input/plugins/SmbclientInputPlugin.cxx
+++ b/src/input/plugins/SmbclientInputPlugin.cxx
@@ -10,6 +10,7 @@
 #include "PluginUnavailable.hxx"
 #include "system/Error.hxx"
 
+#include <exception>
 #include <libsmbclient.h>
 
 class SmbclientInputStream final : public InputStream {