diff options
Diffstat (limited to 'gdb/ser-tcp.c')
-rw-r--r-- | gdb/ser-tcp.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c index 6b19c31..5b0b431 100644 --- a/gdb/ser-tcp.c +++ b/gdb/ser-tcp.c @@ -1,5 +1,6 @@ -/* Serial interface for raw TCP connections on Un*x like systems - Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2001 +/* Serial interface for raw TCP connections on Un*x like systems. + + Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2001, 2005 Free Software Foundation, Inc. This file is part of GDB. @@ -51,6 +52,10 @@ #include <signal.h> #include "gdb_string.h" +#ifndef HAVE_SOCKLEN_T +typedef int socklen_t; +#endif + static int net_open (struct serial *scb, const char *name); static void net_close (struct serial *scb); void _initialize_ser_tcp (void); |