2007-11-08 Aleksandar Ristovski <aristovski@qnx.com>
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 8 Nov 2007 21:04:47 +0000 (21:04 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 8 Nov 2007 21:04:47 +0000 (21:04 +0000)
* gdb_string.h: Include <strings.h>.

gdb/ChangeLog
gdb/gdb_string.h

index 19b514fd6f6de2005803109d5cc7fd77b61329f5..ebddce75edfc3484a232fe2cbca2d9220321eb19 100644 (file)
@@ -1,3 +1,7 @@
+2007-11-08  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * gdb_string.h: Include <strings.h>.
+
 2007-11-08  Vladimir Prus  <vladimir@codesourcery.com>
 
        * breakpoint.c (break_command_1): Remove
index 0c617682492d0272ddd60c6512d0a789fddf2c5b..89007692a4f05eb7f65a8b4ae34193dc9c5f0272 100644 (file)
@@ -23,6 +23,9 @@
 
 #ifdef STDC_HEADERS
 #include <string.h>
+#ifdef HAVE_STRINGS_H
+#include <strings.h> /* strcasecmp etc.. */
+#endif
 #else
 #ifdef HAVE_STRING_H
 #include <string.h>