Use the POSIX feature macro, and add an include.