From 24747973657e45c0dff67e4395e89a4bc6e2436e Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 10 Jun 2003 19:29:57 +0000 Subject: 2003-06-10 Andrew Cagney * remote-fileio.h (REMOTE_FILEIO_H): Replace FILEIO_H. * Makefile.in (remote-fileio.o): Update dependencies. * remote-fileio.c: Include "gdb_wait.h" and "gdb_stat.h". Do not include , or conditional on USG. (remote_fio_jmp_buf): Delete global variable. --- gdb/remote-fileio.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'gdb/remote-fileio.c') diff --git a/gdb/remote-fileio.c b/gdb/remote-fileio.c index 5fa387f79de..abf8e478f68 100644 --- a/gdb/remote-fileio.c +++ b/gdb/remote-fileio.c @@ -26,18 +26,14 @@ #include "gdbcmd.h" #include "remote.h" #include "gdb/fileio.h" +#include "gdb_wait.h" +#include "gdb_stat.h" -#include #include #include -#ifdef USG -#include -#endif -#include #ifdef __CYGWIN__ -#include +#include /* For cygwin_conv_to_full_posix_path. */ #endif -#include #include static struct { @@ -428,7 +424,6 @@ remote_fileio_to_fio_timeval (struct timeval *tv, struct fio_timeval *ftv) static int remote_fio_ctrl_c_flag = 0; static int remote_fio_no_longjmp = 0; -jmp_buf remote_fio_jmp_buf; #if defined (HAVE_SIGACTION) && defined (SA_RESTART) static struct sigaction remote_fio_sa; -- cgit v1.2.1