summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-30 00:24:38 +0200
committerMax Kellermann <max@duempel.org>2014-08-30 00:25:12 +0200
commiteebd03701a4e1bcaadd30c572cf27c872b370d82 (patch)
treee0776d52247089bc3d050f869b880ede17034e8f /src/db
parentd5287682d14c0f6e99ba721fa844fd29d90b583a (diff)
db/simple: fix build failure without zlib
Diffstat (limited to 'src/db')
-rw-r--r--src/db/plugins/simple/SimpleDatabasePlugin.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/db/plugins/simple/SimpleDatabasePlugin.cxx b/src/db/plugins/simple/SimpleDatabasePlugin.cxx
index 9fd88ab83..7b1886f1c 100644
--- a/src/db/plugins/simple/SimpleDatabasePlugin.cxx
+++ b/src/db/plugins/simple/SimpleDatabasePlugin.cxx
@@ -34,7 +34,6 @@
#include "fs/io/TextFile.hxx"
#include "fs/io/BufferedOutputStream.hxx"
#include "fs/io/FileOutputStream.hxx"
-#include "fs/io/GzipOutputStream.hxx"
#include "config/ConfigData.hxx"
#include "fs/FileSystem.hxx"
#include "util/CharUtil.hxx"
@@ -42,6 +41,10 @@
#include "util/Domain.hxx"
#include "Log.hxx"
+#ifdef HAVE_ZLIB
+#include "fs/io/GzipOutputStream.hxx"
+#endif
+
#include <errno.h>
static constexpr Domain simple_db_domain("simple_db");