Add _XOPEN_SOURCE=600 to all .c files with standards compliance defines.