joyent/node — pull request #7867 by obastemur (2014-06-29 16:41:42+00:00)
Title: _XOPEN_SOURCE breaks the events on OSX

OSX fcntl.h doesn't require _XOPEN_SOURCE -> _POSIX_C_SOURCE is defined for O_NONBLOCK. Defining _XOPEN_SOURCE on OSX breaks other events.

See https://github.com/joyent/node/issues/7855