diff options
author | Max Kellermann <max@duempel.org> | 2008-12-27 14:33:41 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-27 14:33:41 +0100 |
commit | 0fe0425dee555027c94a39ca0bca5bac947f4702 (patch) | |
tree | b56c3d787c766cda67b29dcd7664dbd516835373 /src/input_stream.c | |
parent | 4c13a276c4340752fe955057cbb8cae82163292d (diff) | |
download | mpd-0fe0425dee555027c94a39ca0bca5bac947f4702.tar.gz mpd-0fe0425dee555027c94a39ca0bca5bac947f4702.tar.xz mpd-0fe0425dee555027c94a39ca0bca5bac947f4702.zip |
disable archive API without plugins
When there are no archive plugins, we do not need the archive API at
all. Drop all its overhead.
Diffstat (limited to 'src/input_stream.c')
-rw-r--r-- | src/input_stream.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input_stream.c b/src/input_stream.c index 45b7ec5e9..3df8fe006 100644 --- a/src/input_stream.c +++ b/src/input_stream.c @@ -20,7 +20,10 @@ #include "config.h" #include "input_file.h" + +#ifdef ENABLE_ARCHIVE #include "input_archive.h" +#endif #ifdef HAVE_CURL #include "input_curl.h" @@ -31,7 +34,9 @@ static const struct input_plugin *const input_plugins[] = { &input_plugin_file, +#ifdef ENABLE_ARCHIVE &input_plugin_archive, +#endif #ifdef HAVE_CURL &input_plugin_curl, #endif |