From 68d2db622d49c606fcd61e7e1253aaf05c089e41 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Sun, 27 Jun 1993 14:16:34 +0000 Subject: [PATCH] * ser-unix.c: Move #include of to HAVE_SGTTY section. --- gdb/ChangeLog | 2 ++ gdb/ser-unix.c | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a0cdd89d99..65120468a9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ Sun Jun 27 08:58:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * ser-unix.c: Move #include of to HAVE_SGTTY section. + * Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h. Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com) diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c index 248496e01a..eb34da5de7 100644 --- a/gdb/ser-unix.c +++ b/gdb/ser-unix.c @@ -21,7 +21,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "serial.h" #include #include -#include #if !defined (HAVE_TERMIOS) && !defined (HAVE_TERMIO) && !defined (HAVE_SGTTY) #define HAVE_SGTTY @@ -47,6 +46,10 @@ struct hardwire_ttystate #endif #ifdef HAVE_SGTTY +/* Needed for the code which uses select(). We would include + too if it existed on all systems. */ +#include + #include struct hardwire_ttystate -- 2.34.1