pike.git / src / modules / Gz / zlibmod.c

version» Context lines:

pike.git/src/modules/Gz/zlibmod.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: zlibmod.c,v 1.40 2001/07/05 01:50:12 hubbe Exp $"); + RCSID("$Id: zlibmod.c,v 1.41 2002/10/29 09:26:15 grubba Exp $");      #include "zlib_machine.h"      #if !defined(HAVE_LIBZ) && !defined(HAVE_LIBGZ)   #undef HAVE_ZLIB_H   #endif      #ifdef HAVE_ZLIB_H      #include "interpret.h"
pike.git/src/modules/Gz/zlibmod.c:22:   #include "pike_macros.h"   #include "program.h"   #include "stralloc.h"   #include "object.h"   #include "pike_types.h"   #include "threads.h"   #include "dynamic_buffer.h"      #include <zlib.h>    + #endif /* HAVE_ZLIB_H */ +    /* This must be included last! */   #include "module_magic.h"    -  + #ifdef HAVE_ZLIB_H +    struct zipper   {    char level;    char state;    struct z_stream_s gz;   #ifdef _REENTRANT    DEFINE_MUTEX(lock);   #endif /* _REENTRANT */   };