X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompressor.h;h=177137d8939ff666303056c9ffb452f2cbc4a594;hb=d6129e6eb33cabdda455b1c2a71f9fb9bf4efb9d;hp=85817f1f3f6a3ef794e425669e82de0d1a0d2485;hpb=bdb3b8a3086fcd871d2a099fa4a40376f4040e6e;p=quassel.git diff --git a/src/common/compressor.h b/src/common/compressor.h index 85817f1f..177137d8 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-2016 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 {