diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-06-13 21:32:01 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-06-13 21:32:01 +0000 |
commit | f9f87d2ca62abfc2102be8574167cb6aa6928a9e (patch) | |
tree | 086f18a2fce845c903ec18f35cf6afabbbea6467 /gdb/ser-tcp.c | |
parent | 43259571aca0944565543698d044240ecfef4689 (diff) | |
download | fsf-binutils-gdb-f9f87d2ca62abfc2102be8574167cb6aa6928a9e.zip fsf-binutils-gdb-f9f87d2ca62abfc2102be8574167cb6aa6928a9e.tar.gz fsf-binutils-gdb-f9f87d2ca62abfc2102be8574167cb6aa6928a9e.tar.bz2 |
* ser-tcp.c: Tewak comment.
[!HAVE_SOCKLEN_T]: Typedef socklen_t.
* configure.ac: Add check for socklen_t.
* configure, config.in: Regenerate.
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); |