From ed1d49f58750b204ddf7e2fb686d666e819f41e3 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 17 Dec 2015 12:15:02 +0100 Subject: Fix warning in zlib thirdparty build. The gzip functions need lseek, open, read, write, close. Those functions are only defined in unistd.h is included, so make sure that happens. --- Makethird | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makethird') diff --git a/Makethird b/Makethird index 70cce88f..afb6cb0f 100644 --- a/Makethird +++ b/Makethird @@ -290,7 +290,7 @@ $(ZLIB_LIB): $(addprefix $(ZLIB_OUT)/, $(ZLIB_SRC:%.c=%.o)) $(ZLIB_OUT): $(MKDIR_CMD) $(ZLIB_OUT)/%.o: $(ZLIB_DIR)/%.c | $(ZLIB_OUT) - $(CC_CMD) -Dverbose=-1 + $(CC_CMD) -Dverbose=-1 -DHAVE_UNISTD_H -DHAVE_STDARG_H ZLIB_CFLAGS := -I$(ZLIB_DIR) else -- cgit v1.2.3