remote-fileio.h refers to remote_target, so forward-declare it.
gdb/ChangeLog
2019-01-22 Tom Tromey <tom@tromey.com>
* remote-fileio.h (struct remote_target): Declare.
2019-01-22 Tom Tromey <tom@tromey.com>
+ * remote-fileio.h (struct remote_target): Declare.
+
+2019-01-22 Tom Tromey <tom@tromey.com>
+
* python/py-arch.c: Do not include py-ref.h.
* python/py-bpevent.c: Do not include py-ref.h.
* python/py-cmd.c: Do not include py-ref.h.
#include "fileio.h"
struct cmd_list_element;
+struct remote_target;
/* Unified interface to remote fileio, called in remote.c from
remote_wait () and remote_async_wait (). */