aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive_list.c
diff options
context:
space:
mode:
authorViliam Mateicka <viliam.mateicka@gmail.com>2008-12-16 21:46:11 +0100
committerViliam Mateicka <viliam.mateicka@gmail.com>2008-12-16 21:46:11 +0100
commitddcf0a407876ef886ca8634daa223c6f27c236dc (patch)
tree64661abf5a83b688a9ec47d8270a788ba0cec2ff /src/archive_list.c
parent98fd9b7da8547efe81d473371bb3ca7620c7b2b2 (diff)
downloadmpd-ddcf0a407876ef886ca8634daa223c6f27c236dc.tar.gz
mpd-ddcf0a407876ef886ca8634daa223c6f27c236dc.tar.xz
mpd-ddcf0a407876ef886ca8634daa223c6f27c236dc.zip
archiveapi: archive plugin for ZIP files
Diffstat (limited to 'src/archive_list.c')
-rw-r--r--src/archive_list.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/archive_list.c b/src/archive_list.c
index 2f86c0ad6..9f0dca6a9 100644
--- a/src/archive_list.c
+++ b/src/archive_list.c
@@ -28,11 +28,15 @@
#include <glib.h>
extern const struct archive_plugin bz2_plugin;
+extern const struct archive_plugin zip_plugin;
static const struct archive_plugin *const archive_plugins[] = {
#ifdef HAVE_BZ2
&bz2_plugin,
#endif
+#ifdef HAVE_ZIP
+ &zip_plugin,
+#endif
NULL
};