diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-12-17 12:15:02 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-12-18 15:32:14 +0100 |
commit | ed1d49f58750b204ddf7e2fb686d666e819f41e3 (patch) | |
tree | d6da56e133a046ba4f840f686957ea5a484f2142 | |
parent | 15ce2165cc01dabc5a670407e00a0b704da0ee2f (diff) | |
download | mupdf-ed1d49f58750b204ddf7e2fb686d666e819f41e3.tar.xz |
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.
-rw-r--r-- | Makethird | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |