aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-30 00:46:52 +0200
committerMax Kellermann <max@duempel.org>2014-08-30 00:46:52 +0200
commitb373c53ce4feedfc6a0c1750599ab723997a6744 (patch)
treeb5478158b8867e4b6edc12a7a8e4660c7b174790
parentbc4b89c21a8397d540be5989d9c99be90e80e554 (diff)
downloadmpd-b373c53ce4feedfc6a0c1750599ab723997a6744.tar.gz
mpd-b373c53ce4feedfc6a0c1750599ab723997a6744.tar.xz
mpd-b373c53ce4feedfc6a0c1750599ab723997a6744.zip
*: add missing Compiler.h includes
Necessary for "final" on gcc 4.6.
-rw-r--r--src/Partition.hxx1
-rw-r--r--src/db/update/Editor.hxx1
-rw-r--r--src/db/update/InotifySource.hxx1
-rw-r--r--src/db/update/Remove.hxx1
-rw-r--r--src/db/update/Service.hxx1
-rw-r--r--src/db/update/Walk.hxx1
-rw-r--r--src/fs/io/AutoGunzipReader.hxx1
-rw-r--r--src/fs/io/FileOutputStream.hxx1
-rw-r--r--src/fs/io/FileReader.hxx1
-rw-r--r--src/fs/io/GunzipReader.hxx1
-rw-r--r--src/fs/io/GzipOutputStream.hxx1
-rw-r--r--src/fs/io/PeekReader.hxx1
-rw-r--r--src/fs/io/StdioOutputStream.hxx1
-rw-r--r--src/input/IcyInputStream.hxx1
-rw-r--r--src/lib/nfs/Manager.hxx1
-rw-r--r--src/lib/upnp/Discovery.hxx1
-rw-r--r--src/output/plugins/httpd/HttpdInternal.hxx1
-rw-r--r--src/pcm/FallbackResampler.hxx1
-rw-r--r--src/pcm/LibsamplerateResampler.hxx1
-rw-r--r--src/pcm/SoxrResampler.hxx1
-rw-r--r--src/playlist/MemorySongEnumerator.hxx1
21 files changed, 21 insertions, 0 deletions
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 <sys/stat.h>
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 <stdint.h>
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 <assert.h>
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 <assert.h>
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 <zlib.h>
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 <assert.h>
#include <zlib.h>
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 <stdint.h>
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 <stdio.h>
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 <string>
#include <map>
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 <upnp/upnp.h>
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 <samplerate.h>
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 <forward_list>