aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-11 14:13:24 +0100
committerMax Kellermann <max@duempel.org>2009-11-11 14:13:24 +0100
commit69d9716f8b7442c843c3f800d003d7311951b950 (patch)
tree67fdb888083f91523beca15b141bb75b2ac0b3ad /src
parent707b9fea17e5a7b67a181d000e118f9b1185ebc5 (diff)
downloadmpd-69d9716f8b7442c843c3f800d003d7311951b950.tar.gz
mpd-69d9716f8b7442c843c3f800d003d7311951b950.tar.xz
mpd-69d9716f8b7442c843c3f800d003d7311951b950.zip
update: added missing config.h includes
This broke sticker and archive support.
Diffstat (limited to 'src')
-rw-r--r--src/update_remove.c3
-rw-r--r--src/update_walk.c5
2 files changed, 7 insertions, 1 deletions
diff --git a/src/update_remove.c b/src/update_remove.c
index bf3d88db6..a60f0cb98 100644
--- a/src/update_remove.c
+++ b/src/update_remove.c
@@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "config.h" /* must be first for large file support */
#include "update_internal.h"
#include "notify.h"
#include "event_pipe.h"
@@ -54,7 +55,7 @@ song_remove_event(void)
#ifdef ENABLE_SQLITE
/* if the song has a sticker, remove it */
if (sticker_enabled())
- sticker_song_remove(song);
+ sticker_song_delete(removed_song);
#endif
playlist_delete_song(&g_playlist, removed_song);
diff --git a/src/update_walk.c b/src/update_walk.c
index 2c1049472..265c976b5 100644
--- a/src/update_walk.c
+++ b/src/update_walk.c
@@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "config.h" /* must be first for large file support */
#include "update_internal.h"
#include "database.h"
#include "exclude.h"
@@ -29,6 +30,10 @@
#include "decoder_plugin.h"
#include "conf.h"
+#ifdef ENABLE_ARCHIVE
+#include "archive_list.h"
+#endif
+
#include <glib.h>
#include <assert.h>