From 8736a3533b5a8b3c09b2ab644f1a53c5f8e0f0e6 Mon Sep 17 00:00:00 2001 From: Max Kellermann <max@musicpd.org> Date: Mon, 1 Oct 2018 08:40:13 +0200 Subject: [PATCH] db/update/ExcludeList: add missing #ifdef --- src/db/update/ExcludeList.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/db/update/ExcludeList.cxx b/src/db/update/ExcludeList.cxx index 390b9e36d..69f5d8244 100644 --- a/src/db/update/ExcludeList.cxx +++ b/src/db/update/ExcludeList.cxx @@ -35,6 +35,8 @@ #include <assert.h> #include <string.h> +#ifdef HAVE_CLASS_GLOB + inline void ExcludeList::ParseLine(char *line) noexcept { @@ -43,6 +45,8 @@ ExcludeList::ParseLine(char *line) noexcept patterns.emplace_front(p); } +#endif + bool ExcludeList::Load(InputStreamPtr is) {