gdb/ChangeLog
2016-10-14 Eli Zaretskii <eliz@gnu.org>
* common/common-defs.h [HAVE_STRINGS_H]: Include strings.h if
available, to get prototypes of 'strcasecmp' and 'strncasecmp'.
(cherry picked from commit
8ffc1bb12a22e548835c9291871ad0eb68b7f6f0)
+2016-10-14 Eli Zaretskii <eliz@gnu.org>
+
+ * common/common-defs.h [HAVE_STRINGS_H]: Include strings.h if
+ available, to get prototypes of 'strcasecmp' and 'strncasecmp'.
+
2016-10-12 Yao Qi <yao.qi@linaro.org>
PR tdep/20682
#include <stdint.h>
#include <string.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h> /* for strcasecmp and strncasecmp */
+#endif
#include <errno.h>
#include <alloca.h>