summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2016-07-29 14:55:24 +0200
committerMax Kellermann <max@duempel.org>2016-07-29 14:55:28 +0200
commit6b3c525a9d8fec2377fc294bd3baf8ef36f32097 (patch)
tree09a5d7de9c05095a0fd0a14e4ab17fe450d56ceb
parent83aed7051cf54b94036f388183ffd0c935e1df79 (diff)
db/update/ExcludeList: declare exclude_list_domain only if HAVE_GLIB
-rw-r--r--src/db/update/ExcludeList.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db/update/ExcludeList.cxx b/src/db/update/ExcludeList.cxx
index cf92ac8f7..029bed9d7 100644
--- a/src/db/update/ExcludeList.cxx
+++ b/src/db/update/ExcludeList.cxx
@@ -34,7 +34,9 @@
#include <string.h>
#include <errno.h>
+#ifdef HAVE_GLIB
static constexpr Domain exclude_list_domain("exclude_list");
+#endif
bool
ExcludeList::LoadFile(Path path_fs)