aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-04-09 22:58:00 +0000
committerDaniel Jacobowitz <drow@false.org>2002-04-09 22:58:00 +0000
commitd64b88413619bb8abd275f29fcf850df6dec2507 (patch)
treea5918584706934402a508703f0848b0044b3abcb /gdb/gdbserver
parent2ec06d2e41be03b073bc2903804b8411258454f0 (diff)
downloadgdb-d64b88413619bb8abd275f29fcf850df6dec2507.zip
gdb-d64b88413619bb8abd275f29fcf850df6dec2507.tar.gz
gdb-d64b88413619bb8abd275f29fcf850df6dec2507.tar.bz2
2002-04-09 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/server.h: Include <string.h> if HAVE_STRING_H. * ChangeLog: Correct paths in last ChangeLog entry.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index 74c00d4..0d9ec4e 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -30,6 +30,10 @@
#include <errno.h>
#include <setjmp.h>
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+
#ifndef ATTR_NORETURN
#if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7))
#define ATTR_NORETURN __attribute__ ((noreturn))