Include <string.h> or <strings.h>, as appropriate, for declaration of strcmp.