From 7a97c7575d7a7d630d872240897e42341d38dd14 Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 19 Jan 2001 21:55:49 +0000 Subject: [PATCH] Fixed a bug in how zlib.h was included. --- simgear/io/lowlevel.hxx | 7 ++++++- simgear/io/sg_binobj.cxx | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.5