X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompressor.h;h=eedc545a1bb90c931076065ef6045bfc980c7875;hb=e30092afc1803d753914a7ab9fa88bba818de559;hp=85817f1f3f6a3ef794e425669e82de0d1a0d2485;hpb=bdb3b8a3086fcd871d2a099fa4a40376f4040e6e;p=quassel.git diff --git a/src/common/compressor.h b/src/common/compressor.h index 85817f1f..eedc545a 100644 --- a/src/common/compressor.h +++ b/src/common/compressor.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -25,7 +25,11 @@ class QTcpSocket; -typedef struct mz_stream_s *z_streamp; +#ifdef HAVE_ZLIB + typedef struct z_stream_s *z_streamp; +#else + typedef struct mz_stream_s *z_streamp; +#endif class Compressor : public QObject {