mirror of https://github.com/lukechilds/node.git
Browse Source
Build the bundled zlib with -DZ_HAVE_UNISTD_H to make the definition of close(), read() and other unistd.h functions available to gzread.c and gzwrite.c. It's kind of silly that we have to jump through hoops here because we never call any of the functions that do I/O directly, but at least it squelches the -Wimplicit-function-declaration warnings. PR-URL: https://github.com/iojs/io.js/pull/273 Reviewed-by: Bert Belder <bertbelder@gmail.com>v1.8.0-commit
committed by
Bert Belder
1 changed files with 1 additions and 0 deletions
Loading…
Reference in new issue