re PR target/65867 (bootstrap fails for mingw32 due to missing header in ssp.c)

2015-04-25  Daniel Starke  <daniel.f.starke@freenet.de>

	PR target/65867
	* ssp.c: Added wincrypt.h include for Windows targets.

From-SVN: r233253
This commit is contained in:
Daniel Starke 2016-02-09 19:16:30 +00:00 committed by Jeff Law
parent 1149b83cbd
commit ca47576a26
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-04-25 Daniel Starke <daniel.f.starke@freenet.de>
PR target/65867
* ssp.c: Added wincrypt.h include for Windows targets.
2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
* Makefile.in: Regenerated with automake-1.11.6.

View File

@ -56,6 +56,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
to the console using "CONOUT$" */
#if defined (_WIN32) && !defined (__CYGWIN__)
#include <windows.h>
#include <wincrypt.h>
# define _PATH_TTY "CONOUT$"
#else
# define _PATH_TTY "/dev/tty"