diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-11-08 21:04:47 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-11-08 21:04:47 +0000 |
commit | 85bc6eddac7e219c21cc1a00cb79fce2ea512091 (patch) | |
tree | 753a9fd576b8cbe3d232b07d3d41d1f42bc0f178 | |
parent | db107f19ecbd415d8153efe683654c0a2cc4ffc3 (diff) | |
download | binutils-gdb-85bc6eddac7e219c21cc1a00cb79fce2ea512091.tar.gz |
2007-11-08 Aleksandar Ristovski <aristovski@qnx.com>
* gdb_string.h: Include <strings.h>.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdb_string.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 19b514fd6f6..ebddce75edf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/gdb_string.h b/gdb/gdb_string.h index 0c617682492..89007692a4f 100644 --- a/gdb/gdb_string.h +++ b/gdb/gdb_string.h @@ -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> |