aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-11-08 21:04:47 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-11-08 21:04:47 +0000
commit85bc6eddac7e219c21cc1a00cb79fce2ea512091 (patch)
tree753a9fd576b8cbe3d232b07d3d41d1f42bc0f178
parentdb107f19ecbd415d8153efe683654c0a2cc4ffc3 (diff)
downloadgdb-85bc6eddac7e219c21cc1a00cb79fce2ea512091.zip
gdb-85bc6eddac7e219c21cc1a00cb79fce2ea512091.tar.gz
gdb-85bc6eddac7e219c21cc1a00cb79fce2ea512091.tar.bz2
2007-11-08 Aleksandar Ristovski <aristovski@qnx.com>
* gdb_string.h: Include <strings.h>.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/gdb_string.h3
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>