zconf.h contains "#if 0" on the HAVE_UNIST_H line. With zlib's original build system, this line is modified by ./configure. When Fedora switched to autotools, it forgot to handle this.
fixed in zlib-1.2.3-21