diff options
Diffstat (limited to 'zlib')
-rw-r--r-- | zlib/Makefile | 11 | ||||
-rw-r--r-- | zlib/crc32.c | 2 | ||||
-rw-r--r-- | zlib/deflate.c | 2 | ||||
-rw-r--r-- | zlib/infback.c | 1 | ||||
-rw-r--r-- | zlib/inffast.c | 1 | ||||
-rw-r--r-- | zlib/inflate.c | 2 | ||||
-rw-r--r-- | zlib/inftrees.c | 1 | ||||
-rw-r--r-- | zlib/trees.c | 2 | ||||
-rw-r--r-- | zlib/zutil.c | 2 |
9 files changed, 20 insertions, 4 deletions
diff --git a/zlib/Makefile b/zlib/Makefile index 6bba86c73..69371a621 100644 --- a/zlib/Makefile +++ b/zlib/Makefile @@ -1,5 +1,8 @@ -all: - -@echo "Please use ./configure first. Thank you." +SHAREDLIB=zlib1 +DEFFILE = win32\zlib.def +DEFINES += ZLIB_DLL + +CSRCS = adler32.c compress.c crc32.c uncompr.c deflate.c trees.c \ + zutil.c inflate.c infback.c inftrees.c inffast.c gzlib.c \ + gzclose.c gzread.c gzwrite.c -distclean: - make -f Makefile.in distclean diff --git a/zlib/crc32.c b/zlib/crc32.c index 979a7190a..a9d79b8ff 100644 --- a/zlib/crc32.c +++ b/zlib/crc32.c @@ -21,6 +21,8 @@ DYNAMIC_CRC_TABLE and MAKECRCH can be #defined to write out crc32.h. */ +#include <stdio.h> + #ifdef MAKECRCH # include <stdio.h> # ifndef DYNAMIC_CRC_TABLE diff --git a/zlib/deflate.c b/zlib/deflate.c index 9e4c2cbc8..897d3917a 100644 --- a/zlib/deflate.c +++ b/zlib/deflate.c @@ -49,6 +49,8 @@ /* @(#) $Id$ */ +#include <stdio.h> + #include "deflate.h" const char deflate_copyright[] = diff --git a/zlib/infback.c b/zlib/infback.c index 981aff17c..79f022ac8 100644 --- a/zlib/infback.c +++ b/zlib/infback.c @@ -10,6 +10,7 @@ inflate_fast() can be used with either inflate.c or infback.c. */ +#include <stdio.h> #include "zutil.h" #include "inftrees.h" #include "inflate.h" diff --git a/zlib/inffast.c b/zlib/inffast.c index 2f1d60b43..4b6951fc9 100644 --- a/zlib/inffast.c +++ b/zlib/inffast.c @@ -3,6 +3,7 @@ * For conditions of distribution and use, see copyright notice in zlib.h */ +#include <stdio.h> #include "zutil.h" #include "inftrees.h" #include "inflate.h" diff --git a/zlib/inflate.c b/zlib/inflate.c index 47418a1e1..9c5927601 100644 --- a/zlib/inflate.c +++ b/zlib/inflate.c @@ -80,6 +80,8 @@ * The history for versions after 1.2.0 are in ChangeLog in zlib distribution. */ +#include <stdio.h> + #include "zutil.h" #include "inftrees.h" #include "inflate.h" diff --git a/zlib/inftrees.c b/zlib/inftrees.c index abcd7c45e..b453aaf5b 100644 --- a/zlib/inftrees.c +++ b/zlib/inftrees.c @@ -3,6 +3,7 @@ * For conditions of distribution and use, see copyright notice in zlib.h */ +#include <stdio.h> #include "zutil.h" #include "inftrees.h" diff --git a/zlib/trees.c b/zlib/trees.c index 8c32b214b..459282d34 100644 --- a/zlib/trees.c +++ b/zlib/trees.c @@ -34,6 +34,8 @@ /* #define GEN_TREES_H */ +#include <stdio.h> + #include "deflate.h" #ifdef DEBUG diff --git a/zlib/zutil.c b/zlib/zutil.c index 65e0d3b72..505ce5168 100644 --- a/zlib/zutil.c +++ b/zlib/zutil.c @@ -5,6 +5,8 @@ /* @(#) $Id$ */ +#include <stdio.h> + #include "zutil.h" #ifndef Z_SOLO # include "gzguts.h" |