/* Serial interface for raw TCP connections on Un*x like systems
- Copyright 1992, 1993, 1998-1999 Free Software Foundation, Inc.
+ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2001
+ Free Software Foundation, Inc.
This file is part of GDB.
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/socket.h>
-#ifndef __CYGWIN32__
+#ifndef __CYGWIN__
#include <netinet/tcp.h>
#endif
-#include "signals.h"
+#include <signal.h>
#include "gdb_string.h"
static int tcp_open (serial_t scb, const char *name);
ops->readchar = ser_unix_readchar;
ops->write = ser_unix_write;
ops->flush_output = ser_unix_nop_flush_output;
- ops->flush_input = ser_unix_nop_flush_input;
+ ops->flush_input = ser_unix_flush_input;
ops->send_break = ser_unix_nop_send_break;
ops->go_raw = ser_unix_nop_raw;
ops->get_tty_state = ser_unix_nop_get_tty_state;