From: curt Date: Fri, 19 Jan 2001 21:55:49 +0000 (+0000) Subject: Fixed a bug in how zlib.h was included. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7a97c7575d7a7d630d872240897e42341d38dd14;p=simgear.git Fixed a bug in how zlib.h was included. --- diff --git a/simgear/io/lowlevel.hxx b/simgear/io/lowlevel.hxx index b01b9f1a..0bc84aa9 100644 --- a/simgear/io/lowlevel.hxx +++ b/simgear/io/lowlevel.hxx @@ -29,7 +29,12 @@ #include -#include + +#ifdef HAVE_ZLIB +# include +#else +# include +#endif #include diff --git a/simgear/io/sg_binobj.cxx b/simgear/io/sg_binobj.cxx index f68fb5d3..0e7082d0 100644 --- a/simgear/io/sg_binobj.cxx +++ b/simgear/io/sg_binobj.cxx @@ -30,7 +30,6 @@ #include #include -#include #include #include STL_STRING