Replace ../include/wait.h with gdb_wait.h.
[deliverable/binutils-gdb.git] / gdb / inflow.c
index 02b5be2026696f74bd4ec51b4659b7ca2cb63749..3747a7d73d5e0856139c2967c9b0d943ef43468d 100644 (file)
 #endif
 #endif /* sgtty */
 
+#ifdef HAVE_SYS_IOCTL_H
+#include <sys/ioctl.h>
+#endif
+
 #if defined (SIGIO) && defined (FASYNC) && defined (FD_SET) && defined (F_SETOWN)
 static void
 handle_sigio PARAMS ((int));
@@ -489,10 +493,11 @@ child_terminal_info (args, from_tty)
   }
 
 #ifdef PROCESS_GROUP_TYPE
-  printf_filtered ("Process group = %d\n", inferior_process_group);
+  printf_filtered ("Process group = %d\n",
+                  (int) inferior_process_group);
 #endif
 
-  SERIAL_PRINT_TTY_STATE (stdin_serial, inferior_ttystate);
+  SERIAL_PRINT_TTY_STATE (stdin_serial, inferior_ttystate, gdb_stdout);
 }
 \f
 /* NEW_TTY_PREFORK is called before forking a new child process,
This page took 0.024023 seconds and 4 git commands to generate.