zlib.h included in ifdefs

This commit is contained in:
Benjamin Sergeant 2020-07-31 22:19:33 -07:00
parent 43c0ae0812
commit 80fb8cfb59
2 changed files with 6 additions and 0 deletions

View File

@ -16,7 +16,10 @@
#include <random>
#include <sstream>
#include <vector>
#ifdef IXWEBSOCKET_USE_ZLIB
#include <zlib.h>
#endif
namespace ix
{

View File

@ -13,7 +13,10 @@
#include <fstream>
#include <sstream>
#include <vector>
#ifdef IXWEBSOCKET_USE_ZLIB
#include <zlib.h>
#endif
namespace
{