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 19b514f..ebddce7 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 0c61768..8900769 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>