Fixed -implicit warnings: defined _POSIX_C_SOURCE