From 6f3c0d0a60b0062664320a7beacfd824c0cc6685 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 6 Jul 2018 17:10:11 +0200 Subject: [PATCH] AudioFormat: include cleanup --- src/AudioFormat.hxx | 1 - src/output/plugins/RoarOutputPlugin.cxx | 2 ++ src/pcm/ConfiguredResampler.cxx | 1 + src/pcm/PcmExport.cxx | 2 ++ 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/AudioFormat.hxx b/src/AudioFormat.hxx index 77e710f55..9b01e5256 100644 --- a/src/AudioFormat.hxx +++ b/src/AudioFormat.hxx @@ -23,7 +23,6 @@ #include "pcm/SampleFormat.hxx" #include "Compiler.h" -#include #include #include diff --git a/src/output/plugins/RoarOutputPlugin.cxx b/src/output/plugins/RoarOutputPlugin.cxx index 7a201b2ca..5eb181bc3 100644 --- a/src/output/plugins/RoarOutputPlugin.cxx +++ b/src/output/plugins/RoarOutputPlugin.cxx @@ -36,6 +36,8 @@ #include #undef new +#include + class RoarOutput { friend struct AudioOutputWrapper; diff --git a/src/pcm/ConfiguredResampler.cxx b/src/pcm/ConfiguredResampler.cxx index bd44a95f3..2e68ed89d 100644 --- a/src/pcm/ConfiguredResampler.cxx +++ b/src/pcm/ConfiguredResampler.cxx @@ -35,6 +35,7 @@ #include "SoxrResampler.hxx" #endif +#include #include enum class SelectedResampler { diff --git a/src/pcm/PcmExport.cxx b/src/pcm/PcmExport.cxx index 1054dba4c..b88005cf7 100644 --- a/src/pcm/PcmExport.cxx +++ b/src/pcm/PcmExport.cxx @@ -32,6 +32,8 @@ #include "PcmDop.hxx" #endif +#include + void PcmExport::Open(SampleFormat sample_format, unsigned _channels, Params params)