--- configure.orig 2012-08-23 22:55:23.939707020 +0200 +++ configure 2012-08-23 23:04:37.980578000 +0200 @@ -19817,11 +19818,34 @@ #ifdef __cplusplus extern "C" #endif -char BZ2_bzCompress (); +typedef + struct { + char *next_in; + unsigned int avail_in; + unsigned int total_in_lo32; + unsigned int total_in_hi32; + + char *next_out; + unsigned int avail_out; + unsigned int total_out_lo32; + unsigned int total_out_hi32; + + void *state; + + void *(*bzalloc)(void *,int,int); + void (*bzfree)(void *,void *); + void *opaque; + } + bz_stream; +int __stdcall BZ2_bzCompress ( + bz_stream* strm, + int action + ); int -main () +main (int argc, char *argv[]) { -return BZ2_bzCompress (); + bz_stream foo; +return BZ2_bzCompress (&foo,argc); ; return 0; }