aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 083d12c..a17b005 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -737,6 +737,10 @@ readchar ()
if (inbuf_index >= inbuf_count)
{
+#ifndef HAVE_TERMIO
+ extern int alarm ();
+#endif
+
/* Time to do another read... */
inbuf_index = 0;
inbuf_count = 0;