From b373c53ce4feedfc6a0c1750599ab723997a6744 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 30 Aug 2014 00:46:52 +0200 Subject: *: add missing Compiler.h includes Necessary for "final" on gcc 4.6. --- src/Partition.hxx | 1 + src/db/update/Editor.hxx | 1 + src/db/update/InotifySource.hxx | 1 + src/db/update/Remove.hxx | 1 + src/db/update/Service.hxx | 1 + src/db/update/Walk.hxx | 1 + src/fs/io/AutoGunzipReader.hxx | 1 + src/fs/io/FileOutputStream.hxx | 1 + src/fs/io/FileReader.hxx | 1 + src/fs/io/GunzipReader.hxx | 1 + src/fs/io/GzipOutputStream.hxx | 1 + src/fs/io/PeekReader.hxx | 1 + src/fs/io/StdioOutputStream.hxx | 1 + src/input/IcyInputStream.hxx | 1 + src/lib/nfs/Manager.hxx | 1 + src/lib/upnp/Discovery.hxx | 1 + src/output/plugins/httpd/HttpdInternal.hxx | 1 + src/pcm/FallbackResampler.hxx | 1 + src/pcm/LibsamplerateResampler.hxx | 1 + src/pcm/SoxrResampler.hxx | 1 + src/playlist/MemorySongEnumerator.hxx | 1 + 21 files changed, 21 insertions(+) (limited to 'src') diff --git a/src/Partition.hxx b/src/Partition.hxx index ad0187de0..d89c4b41f 100644 --- a/src/Partition.hxx +++ b/src/Partition.hxx @@ -26,6 +26,7 @@ #include "PlayerControl.hxx" #include "PlayerListener.hxx" #include "Chrono.hxx" +#include "Compiler.h" struct Instance; class MultipleOutputs; diff --git a/src/db/update/Editor.hxx b/src/db/update/Editor.hxx index fc08c2659..58e23ed7a 100644 --- a/src/db/update/Editor.hxx +++ b/src/db/update/Editor.hxx @@ -22,6 +22,7 @@ #include "check.h" #include "Remove.hxx" +#include "Compiler.h" struct Directory; struct Song; diff --git a/src/db/update/InotifySource.hxx b/src/db/update/InotifySource.hxx index 081ce10f3..2557680a0 100644 --- a/src/db/update/InotifySource.hxx +++ b/src/db/update/InotifySource.hxx @@ -21,6 +21,7 @@ #define MPD_INOTIFY_SOURCE_HXX #include "event/SocketMonitor.hxx" +#include "Compiler.h" class Error; diff --git a/src/db/update/Remove.hxx b/src/db/update/Remove.hxx index f0457efa1..ce6d77d47 100644 --- a/src/db/update/Remove.hxx +++ b/src/db/update/Remove.hxx @@ -24,6 +24,7 @@ #include "event/DeferredMonitor.hxx" #include "thread/Mutex.hxx" #include "thread/Cond.hxx" +#include "Compiler.h" struct Song; class DatabaseListener; diff --git a/src/db/update/Service.hxx b/src/db/update/Service.hxx index cbb4a3f9d..feaeaebc5 100644 --- a/src/db/update/Service.hxx +++ b/src/db/update/Service.hxx @@ -24,6 +24,7 @@ #include "Queue.hxx" #include "event/DeferredMonitor.hxx" #include "thread/Thread.hxx" +#include "Compiler.h" class SimpleDatabase; class DatabaseListener; diff --git a/src/db/update/Walk.hxx b/src/db/update/Walk.hxx index cce276ab0..a4c518813 100644 --- a/src/db/update/Walk.hxx +++ b/src/db/update/Walk.hxx @@ -22,6 +22,7 @@ #include "check.h" #include "Editor.hxx" +#include "Compiler.h" #include diff --git a/src/fs/io/AutoGunzipReader.hxx b/src/fs/io/AutoGunzipReader.hxx index 0efd9d56c..9f031e0f5 100644 --- a/src/fs/io/AutoGunzipReader.hxx +++ b/src/fs/io/AutoGunzipReader.hxx @@ -22,6 +22,7 @@ #include "check.h" #include "PeekReader.hxx" +#include "Compiler.h" #include diff --git a/src/fs/io/FileOutputStream.hxx b/src/fs/io/FileOutputStream.hxx index 68174ec83..5b6309957 100644 --- a/src/fs/io/FileOutputStream.hxx +++ b/src/fs/io/FileOutputStream.hxx @@ -23,6 +23,7 @@ #include "check.h" #include "OutputStream.hxx" #include "fs/AllocatedPath.hxx" +#include "Compiler.h" #include diff --git a/src/fs/io/FileReader.hxx b/src/fs/io/FileReader.hxx index 34b43943c..9f459aee2 100644 --- a/src/fs/io/FileReader.hxx +++ b/src/fs/io/FileReader.hxx @@ -23,6 +23,7 @@ #include "check.h" #include "Reader.hxx" #include "fs/AllocatedPath.hxx" +#include "Compiler.h" #include diff --git a/src/fs/io/GunzipReader.hxx b/src/fs/io/GunzipReader.hxx index 34fc653fa..06c44bad6 100644 --- a/src/fs/io/GunzipReader.hxx +++ b/src/fs/io/GunzipReader.hxx @@ -23,6 +23,7 @@ #include "check.h" #include "Reader.hxx" #include "util/StaticFifoBuffer.hxx" +#include "Compiler.h" #include diff --git a/src/fs/io/GzipOutputStream.hxx b/src/fs/io/GzipOutputStream.hxx index e23835de8..27ee2dd24 100644 --- a/src/fs/io/GzipOutputStream.hxx +++ b/src/fs/io/GzipOutputStream.hxx @@ -22,6 +22,7 @@ #include "check.h" #include "OutputStream.hxx" +#include "Compiler.h" #include #include diff --git a/src/fs/io/PeekReader.hxx b/src/fs/io/PeekReader.hxx index 27e7ff7c1..32180b0a8 100644 --- a/src/fs/io/PeekReader.hxx +++ b/src/fs/io/PeekReader.hxx @@ -22,6 +22,7 @@ #include "check.h" #include "Reader.hxx" +#include "Compiler.h" #include diff --git a/src/fs/io/StdioOutputStream.hxx b/src/fs/io/StdioOutputStream.hxx index e00db922f..c1c0a00bd 100644 --- a/src/fs/io/StdioOutputStream.hxx +++ b/src/fs/io/StdioOutputStream.hxx @@ -23,6 +23,7 @@ #include "check.h" #include "OutputStream.hxx" #include "fs/AllocatedPath.hxx" +#include "Compiler.h" #include diff --git a/src/input/IcyInputStream.hxx b/src/input/IcyInputStream.hxx index 6a85f9ffd..d8968a741 100644 --- a/src/input/IcyInputStream.hxx +++ b/src/input/IcyInputStream.hxx @@ -22,6 +22,7 @@ #include "ProxyInputStream.hxx" #include "IcyMetaDataParser.hxx" +#include "Compiler.h" struct Tag; diff --git a/src/lib/nfs/Manager.hxx b/src/lib/nfs/Manager.hxx index 11a779a2a..0e2c998fe 100644 --- a/src/lib/nfs/Manager.hxx +++ b/src/lib/nfs/Manager.hxx @@ -22,6 +22,7 @@ #include "check.h" #include "Connection.hxx" +#include "Compiler.h" #include #include diff --git a/src/lib/upnp/Discovery.hxx b/src/lib/upnp/Discovery.hxx index af07daf61..767811840 100644 --- a/src/lib/upnp/Discovery.hxx +++ b/src/lib/upnp/Discovery.hxx @@ -25,6 +25,7 @@ #include "WorkQueue.hxx" #include "thread/Mutex.hxx" #include "util/Error.hxx" +#include "Compiler.h" #include diff --git a/src/output/plugins/httpd/HttpdInternal.hxx b/src/output/plugins/httpd/HttpdInternal.hxx index 5c113520d..20ff15e42 100644 --- a/src/output/plugins/httpd/HttpdInternal.hxx +++ b/src/output/plugins/httpd/HttpdInternal.hxx @@ -31,6 +31,7 @@ #include "event/ServerSocket.hxx" #include "event/DeferredMonitor.hxx" #include "util/Cast.hxx" +#include "Compiler.h" #ifdef _LIBCPP_VERSION /* can't use incomplete template arguments with libc++ */ diff --git a/src/pcm/FallbackResampler.hxx b/src/pcm/FallbackResampler.hxx index 0b7f9d57b..38273f53f 100644 --- a/src/pcm/FallbackResampler.hxx +++ b/src/pcm/FallbackResampler.hxx @@ -23,6 +23,7 @@ #include "Resampler.hxx" #include "PcmBuffer.hxx" #include "AudioFormat.hxx" +#include "Compiler.h" /** * A naive resampler that is used when no external library was found diff --git a/src/pcm/LibsamplerateResampler.hxx b/src/pcm/LibsamplerateResampler.hxx index 86d74d95a..4f4e645e6 100644 --- a/src/pcm/LibsamplerateResampler.hxx +++ b/src/pcm/LibsamplerateResampler.hxx @@ -23,6 +23,7 @@ #include "Resampler.hxx" #include "PcmBuffer.hxx" #include "AudioFormat.hxx" +#include "Compiler.h" #include diff --git a/src/pcm/SoxrResampler.hxx b/src/pcm/SoxrResampler.hxx index efe9bd5cb..e4cba4a64 100644 --- a/src/pcm/SoxrResampler.hxx +++ b/src/pcm/SoxrResampler.hxx @@ -22,6 +22,7 @@ #include "Resampler.hxx" #include "PcmBuffer.hxx" +#include "Compiler.h" struct AudioFormat; diff --git a/src/playlist/MemorySongEnumerator.hxx b/src/playlist/MemorySongEnumerator.hxx index e87a4f6dd..d1259f011 100644 --- a/src/playlist/MemorySongEnumerator.hxx +++ b/src/playlist/MemorySongEnumerator.hxx @@ -22,6 +22,7 @@ #include "SongEnumerator.hxx" #include "DetachedSong.hxx" +#include "Compiler.h" #include -- cgit v1.2.3