Socket type can also contain SOCK_NONBLOCK and SOCK_CLOEXEC flags. NDK headers do not export these values but they seem to be aliases of O_NONBLOCK and O_CLOEXEC. NDK headers do not define O_CLOEXEC. Change-Id: If97fcb9f1ff130ea11a0da6452454a256f769809 Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Pete Delaney <piet@mips.com>