zlib: fix compile warning

This patch includes 'unistd.h' to avoid warnings about the implicit
declaration of the functions ‘read’, 'close', and 'write.
This commit is contained in:
Norman Feske 2020-01-03 15:31:30 +01:00 committed by Christian Helmuth
parent aee8d35dc4
commit e1e1fa23b7
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ SRC_C = adler32.c compress.c crc32.c deflate.c gzclose.c \
gzlib.c gzread.c gzwrite.c infback.c inffast.c inflate.c \
inftrees.c trees.c uncompr.c zutil.c
CC_WARN =
CC_OPT += -DZ_HAVE_UNISTD_H
vpath %.c $(ZLIB_DIR)