db/update/ExcludeList: add missing #ifdef

This commit is contained in:
Max Kellermann 2018-10-01 08:40:13 +02:00
parent 608d232373
commit 8736a3533b
1 changed files with 4 additions and 0 deletions

View File

@ -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)
{