Include stdio.h to pick up perror(3) definition.