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