The header strings.h is the C standard compliant header for strncasecmp, however some implementations also declare it in string.h (which is why it complies on some distributions but not others). An include for strings.h has been added. The string,h include has been preserved in the event that there are some non-compliant implementations. We don't want to accidentally break things for some users, and there are minimal downsides to doing this.
The header
strings.h
is the C standard compliant header forstrncasecmp
, however some implementations also declare it instring.h
(which is why it complies on some distributions but not others). An include forstrings.h
has been added. Thestring,h
include has been preserved in the event that there are some non-compliant implementations. We don't want to accidentally break things for some users, and there are minimal downsides to doing this.