Reverted to _XOPEN_SOURCE=600 to accomodate Solaris 10.