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