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