Bruce MacKay <bmackay(at)calderasystems(dot)com> writes:
> pg_backup_custom.c -o pg_backup_custom.o
> pg_backup_custom.c:80: parse error before `z_streamp'
Hm, do you have valid headers for libz installed? If so, what version?
The code expects #include <zlib.h> to provide a typedef for z_streamp,
if that header exists.
regards, tom lane