aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-15 17:39:40 +0100
committerMax Kellermann <max@duempel.org>2009-12-15 19:02:17 +0100
commit6b728e4756523f5d00eff865bb8a2e9f929a9433 (patch)
tree85dbf6bc506ea6771449179ad6c94515d4821b84 /src
parentf1ecd9eac8ff3cabc24a16e394219dda6355c3eb (diff)
downloadmpd-6b728e4756523f5d00eff865bb8a2e9f929a9433.tar.gz
mpd-6b728e4756523f5d00eff865bb8a2e9f929a9433.tar.xz
mpd-6b728e4756523f5d00eff865bb8a2e9f929a9433.zip
archive_list: don't include archive_api.h
Use struct forward declarations.
Diffstat (limited to 'src')
-rw-r--r--src/archive_list.h2
-rw-r--r--src/update_walk.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/archive_list.h b/src/archive_list.h
index 55278fbc4..2534b2b18 100644
--- a/src/archive_list.h
+++ b/src/archive_list.h
@@ -20,8 +20,6 @@
#ifndef MPD_ARCHIVE_LIST_H
#define MPD_ARCHIVE_LIST_H
-#include "archive_api.h"
-
#include <stdio.h>
struct archive_plugin;
diff --git a/src/update_walk.c b/src/update_walk.c
index 265c976b5..41fb8f674 100644
--- a/src/update_walk.c
+++ b/src/update_walk.c
@@ -32,6 +32,7 @@
#ifdef ENABLE_ARCHIVE
#include "archive_list.h"
+#include "archive_api.h"
#endif
#include <glib.h>