aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/DirectorySave.cxx2
-rw-r--r--src/Listen.cxx2
-rw-r--r--src/PlaylistFile.cxx2
-rw-r--r--src/QueueSave.cxx2
-rw-r--r--src/SongSave.cxx2
-rw-r--r--src/StateFile.cxx3
-rw-r--r--src/db/SimpleDatabasePlugin.cxx2
-rw-r--r--test/DumpDatabase.cxx2
8 files changed, 15 insertions, 2 deletions
diff --git a/src/DirectorySave.cxx b/src/DirectorySave.cxx
index c00338182..c39ac1edc 100644
--- a/src/DirectorySave.cxx
+++ b/src/DirectorySave.cxx
@@ -27,6 +27,8 @@
#include "util/Error.hxx"
#include "util/Domain.hxx"
+#include <glib.h>
+
#include <assert.h>
#include <string.h>
diff --git a/src/Listen.cxx b/src/Listen.cxx
index 0dcd6fddf..1c240353d 100644
--- a/src/Listen.cxx
+++ b/src/Listen.cxx
@@ -29,6 +29,8 @@
#include "util/Error.hxx"
#include "fs/Path.hxx"
+#include <glib.h>
+
#include <string.h>
#include <assert.h>
diff --git a/src/PlaylistFile.cxx b/src/PlaylistFile.cxx
index 85ddb7168..7265dec99 100644
--- a/src/PlaylistFile.cxx
+++ b/src/PlaylistFile.cxx
@@ -37,6 +37,8 @@
#include "util/UriUtil.hxx"
#include "util/Error.hxx"
+#include <glib.h>
+
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/src/QueueSave.cxx b/src/QueueSave.cxx
index a9c4b4cff..2e48b681f 100644
--- a/src/QueueSave.cxx
+++ b/src/QueueSave.cxx
@@ -28,6 +28,8 @@
#include "util/UriUtil.hxx"
#include "util/Error.hxx"
+#include <glib.h>
+
#include <stdlib.h>
#define PRIO_LABEL "Prio: "
diff --git a/src/SongSave.cxx b/src/SongSave.cxx
index 751d53efb..1ed9906c4 100644
--- a/src/SongSave.cxx
+++ b/src/SongSave.cxx
@@ -31,7 +31,7 @@
#include <glib.h>
-#include <stdlib.h>
+#include <string.h>
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "song"
diff --git a/src/StateFile.cxx b/src/StateFile.cxx
index caba82da8..901ebca39 100644
--- a/src/StateFile.cxx
+++ b/src/StateFile.cxx
@@ -25,9 +25,10 @@
#include "Partition.hxx"
#include "Volume.hxx"
#include "event/Loop.hxx"
+#include "fs/FileSystem.hxx"
#include <glib.h>
-#include <assert.h>
+
#include <string.h>
#include <errno.h>
diff --git a/src/db/SimpleDatabasePlugin.cxx b/src/db/SimpleDatabasePlugin.cxx
index 7ba86fb38..c28f0e4cc 100644
--- a/src/db/SimpleDatabasePlugin.cxx
+++ b/src/db/SimpleDatabasePlugin.cxx
@@ -32,6 +32,8 @@
#include "util/Error.hxx"
#include "util/Domain.hxx"
+#include <glib.h>
+
#include <sys/types.h>
#include <errno.h>
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx
index 9179c7e05..395ff4f23 100644
--- a/test/DumpDatabase.cxx
+++ b/test/DumpDatabase.cxx
@@ -30,6 +30,8 @@
#include "fs/Path.hxx"
#include "util/Error.hxx"
+#include <glib.h>
+
#include <iostream>
using std::cout;
using std::cerr;