[commit] Add missing include (Re: Two minor issues)
Ulrich Weigand
uweigand@de.ibm.com
Wed Aug 27 13:28:00 GMT 2008
Dr. Rolf Jansen wrote:
> 1. remote.c does not compile because the new function
> remote_bfd_iovec_stat() makes a reference to the stat structure and
> that is not defined by default on MaC OS X. In order to fix this I
> added "#include <sys/stat.h>" somewhere at the top of the file.
Ah, sorry for the breakage. I've committed the patch below, which
should fix this problem.
Thanks,
Ulrich
ChangeLog:
* remote.c: Include "gdb_stat.h".
Index: gdb/remote.c
===================================================================
RCS file: /cvs/src/src/gdb/remote.c,v
retrieving revision 1.307
diff -c -p -r1.307 remote.c
*** gdb/remote.c 26 Aug 2008 17:30:35 -0000 1.307
--- gdb/remote.c 27 Aug 2008 13:23:03 -0000
***************
*** 59,64 ****
--- 59,65 ----
#include "remote-fileio.h"
#include "gdb/fileio.h"
+ #include "gdb_stat.h"
#include "memory-map.h"
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
More information about the Gdb-patches
mailing list