output/plugins: fix build error with clang and -stdlib=libc++

This fixes this build error observed with clang and -stdlib=libc++:

../mpd-0.23.3/src/output/plugins/PipeWireOutputPlugin.cxx:661:55: error: implicit instantiation of undefined template 'std::array<std::byte, 64>'
        std::array<std::byte, MAX_CHANNELS * MAX_INTERLEAVE> buffer;
                                                             ^
/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                               ^
This commit is contained in:
0xC0ncord 2021-11-10 15:35:56 -05:00
parent 5f4ec7de5b
commit 061dd2dfef
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@
#include <boost/lockfree/spsc_queue.hpp>
#include <algorithm>
#include <array>
#include <stdexcept>
#include <string>