On Sun 19 Feb 2017 09:18, ilove zfs <ilove...@icloud.com> writes: > Despite the "accept4 flags. No ifdef as accept4 has a gnulib implementation" > building 2.1.7 fails with undeclared identifier errors for SOCK_CLOEXEC and > SOCK_NONBLOCK on > macOS. Wrapping the relevant sections in ifdef SOCK_CLOEXEC and ifdef > SOCK_NONBLOCK seems to work around the build failure, but I'm not sure if > there are any problems with > doing this, or why the build isn't correctly taking advantage of the gnulib > accept4 implementation.
Yeah sorry about that. Fixed I think (we just don't define SOCK_NONBLOCK et al now). Andy