removed POSIX_SOURCE macro