Include <string.h> for strncmp.