Merge pull request #900 from Blewzman/FixAggregateExceptionGetBaseException
[mono.git] / mcs / tools / mkbundle / template_z.c
index 8a8e6007985718e3a48565178334a0a2cb81a211..f40641c21f965af39738ddd53fad6067e24f632e 100644 (file)
@@ -1,5 +1,6 @@
 static MonoBundledAssembly **bundled;
 
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <zlib.h>
@@ -13,7 +14,8 @@ my_inflate (const Byte *compr, uLong compr_len, Byte *uncompr, uLong uncompr_len
        memset (&stream, 0, sizeof (z_stream));
        stream.next_in = (Byte *) compr;
        stream.avail_in = (uInt) compr_len;
-       /* To decompress gzip format: http://stackoverflow.com/a/1838702/83444 */
+
+       // http://www.zlib.net/manual.html
        err = inflateInit2 (&stream, 16+MAX_WBITS);
        if (err != Z_OK)
                return 1;