Tom Tromey 6c51cf513d Move include block to pathstuff.h
A recent commit caused pathstuff.cc to fail to compile on mingw, like:

../../binutils-gdb/gdbsupport/pathstuff.cc:324:1: error: no previous declaration for 'std::string find_gdb_home_config_file(const char*, _stati64*)' [-Werror=missing-declarations]

Some newly-added #includes were changing which "stat" was being seen
by the compiler.  This patch moves the includes to the header, so that
the declaration and definition now agree.

2020-11-10  Tom Tromey  <tromey@adacore.com>

	PR build/26848:
	* pathstuff.h: Move include block here...
	* pathstuff.cc: ... from here.
2020-11-10 13:12:59 -07:00
..
2020-10-25 21:08:49 -04:00
2020-11-10 13:12:59 -07:00
2020-04-13 14:10:04 -06:00
2020-04-13 14:10:03 -06:00
2020-02-28 11:04:28 -05:00
2020-04-28 11:38:26 +02:00
2020-10-25 21:08:49 -04:00
2020-11-10 13:12:59 -07:00
2020-11-10 13:12:59 -07:00
2020-02-13 16:27:03 -05:00
2020-08-07 11:29:00 -04:00

This is a helper library that is used by gdb and gdbserver.

To send patches, follow the gdb patch submission instructions in
../gdb/CONTRIBUTE.  For maintainers, see ../gdb/MAINTAINERS.