aboutsummaryrefslogtreecommitdiff
path: root/libssp
diff options
context:
space:
mode:
authorDaniel Starke <daniel.f.starke@freenet.de>2016-02-09 19:16:30 +0000
committerJeff Law <law@gcc.gnu.org>2016-02-09 12:16:30 -0700
commitca47576a267047a5b00361f168bf850272956248 (patch)
treee64cb07bc235fcc815fb1567054afb9a7f729558 /libssp
parent1149b83cbdb5e6e689d2179e1797b6a0427105e0 (diff)
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
Diffstat (limited to 'libssp')
-rw-r--r--libssp/ChangeLog5
-rw-r--r--libssp/ssp.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/libssp/ChangeLog b/libssp/ChangeLog
index 47e7339dc93..036257f1b06 100644
--- a/libssp/ChangeLog
+++ b/libssp/ChangeLog
@@ -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.
diff --git a/libssp/ssp.c b/libssp/ssp.c
index 38e3ec83f6b..69805bcfc03 100644
--- a/libssp/ssp.c
+++ b/libssp/ssp.c
@@ -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"