From 80fb8cfb595596ddf24386ff7925fc075ebc665d Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Fri, 31 Jul 2020 22:19:33 -0700 Subject: [PATCH] zlib.h included in ifdefs --- ixwebsocket/IXHttpClient.cpp | 3 +++ ixwebsocket/IXHttpServer.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ixwebsocket/IXHttpClient.cpp b/ixwebsocket/IXHttpClient.cpp index 5ff137e7..d34eeed3 100644 --- a/ixwebsocket/IXHttpClient.cpp +++ b/ixwebsocket/IXHttpClient.cpp @@ -16,7 +16,10 @@ #include #include #include + +#ifdef IXWEBSOCKET_USE_ZLIB #include +#endif namespace ix { diff --git a/ixwebsocket/IXHttpServer.cpp b/ixwebsocket/IXHttpServer.cpp index 09ceb668..08fc3a4c 100644 --- a/ixwebsocket/IXHttpServer.cpp +++ b/ixwebsocket/IXHttpServer.cpp @@ -13,7 +13,10 @@ #include #include #include + +#ifdef IXWEBSOCKET_USE_ZLIB #include +#endif namespace {