joyent/libuv — pull request #532 by idunham (2012-08-21 02:54:40+00:00)
Title: Support compiling with musl

These changes allow compilation with musl; most of them are needed because is a no-op with musl.
If you merge this, you'll probably want to revert 5cdf31e (Turn off strict ANSI C89/define _GNU_SOURCE globally).
It is needed to build on musl, but config-unix.mk is easy enough to modify.

All changes are my own, and I consider them too trivial to be copyrightable.