]> git.mxchange.org Git - simgear.git/commitdiff
Fixed a bug in how zlib.h was included.
authorcurt <curt>
Fri, 19 Jan 2001 21:55:49 +0000 (21:55 +0000)
committercurt <curt>
Fri, 19 Jan 2001 21:55:49 +0000 (21:55 +0000)
simgear/io/lowlevel.hxx
simgear/io/sg_binobj.cxx

index b01b9f1a87f7b3173e3507fa40d66d2898b96ec3..0bc84aa9f3ddea8974bf41c842c8176a4d804f54 100644 (file)
 
 
 #include <stdio.h>
-#include <zlib.h>
+
+#ifdef HAVE_ZLIB
+#  include <zlib.h>
+#else
+#  include <simgear/zlib/zlib.h>
+#endif
 
 #include <plib/sg.h>
 
index f68fb5d39ba542905578a875bc4435c479efdc64..0e7082d08ad585beb7ee82445b13c90883aabff3 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <stdio.h>
 #include <time.h>
-#include <zlib.h>
 
 #include <vector>
 #include STL_STRING