--- Makefile.in +++ Makefile.in @@ -41,7 +41,8 @@ OBJS3=progress.o pipe.o DAEMON_OBJ = params.o loadparm.o clientserver.o access.o connection.o authenticate.o $(SLPOBJ) popt_OBJS=popt/findme.o popt/popt.o popt/poptconfig.o \ popt/popthelp.o popt/poptparse.o -OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(DAEMON_OBJ) $(LIBOBJ) $(ZLIBOBJ) @BUILD_POPT@ +OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(DAEMON_OBJ) $(LIBOBJ) @BUILD_POPT@ +LIBS += -lz TLS_OBJ = tls.o syscall.o lib/compat.o lib/snprintf.o lib/permstring.o --- batch.c +++ batch.c @@ -21,7 +21,7 @@ */ #include "rsync.h" -#include "zlib/zlib.h" +#include #include extern int eol_nulls; --- options.c +++ options.c @@ -22,7 +22,7 @@ #include "rsync.h" #include -#include "zlib/zlib.h" +#include extern int module_id; extern int sanitize_paths; --- token.c +++ token.c @@ -21,7 +21,7 @@ */ #include "rsync.h" -#include "zlib/zlib.h" +#include extern int do_compression; extern int module_id;