@@ -2,12 +2,13 @@ * March 2003 - placed in the public domain by the author. * * Interface to the "zlib" compression library */ -#include "zlib.h" #include +#if 10 * TCL_MAJOR_VERSION + TCL_MINOR_VERSION < 86 +#include "zlib.h" typedef struct { z_stream stream; Tcl_Obj *indata; } zlibstream; @@ -207,5 +208,6 @@ int Zlib_Init(Tcl_Interp *interp) { Tcl_CreateObjCommand(interp, "zlib", ZlibCmd, 0, 0); return Tcl_PkgProvide( interp, "zlib", "1.1"); } +#endif /* Tcl version less than 8.6 */