summaryrefslogtreecommitdiff
path: root/gdb/ser-unix.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-07-05 17:58:44 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-07-05 17:58:44 +0000
commit898586e8e8dcfa495ccf88fce9d8a3fe4d3a7625 (patch)
tree1472a0286b800398c881dd858557d7b60aa942e2 /gdb/ser-unix.c
parent22c86e7f4ad1b5d1172d47119f49a8dbba35f08d (diff)
downloadgdb-898586e8e8dcfa495ccf88fce9d8a3fe4d3a7625.tar.gz
import gdb-1999-07-05 snapshot
Diffstat (limited to 'gdb/ser-unix.c')
-rw-r--r--gdb/ser-unix.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c
index dc5236fbe66..50f28066176 100644
--- a/gdb/ser-unix.c
+++ b/gdb/ser-unix.c
@@ -1,5 +1,5 @@
/* Serial interface for local (hardwired) serial ports on Un*x like systems
- Copyright 1992, 1993, 1994, 1998 Free Software Foundation, Inc.
+ Copyright 1992, 1993, 1994, 1998, 1999 Free Software Foundation, Inc.
This file is part of GDB.
@@ -26,6 +26,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <unistd.h>
#endif
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
+
#ifdef HAVE_TERMIOS
struct hardwire_ttystate