diff options
author | Max Kellermann <max@duempel.org> | 2014-08-30 00:24:38 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-30 00:25:12 +0200 |
commit | eebd03701a4e1bcaadd30c572cf27c872b370d82 (patch) | |
tree | e0776d52247089bc3d050f869b880ede17034e8f /src/db | |
parent | d5287682d14c0f6e99ba721fa844fd29d90b583a (diff) |
db/simple: fix build failure without zlib
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/plugins/simple/SimpleDatabasePlugin.cxx | 5 |
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"); |