aboutsummaryrefslogtreecommitdiff
path: root/libssp/ssp.c
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/ssp.c
parent1149b83cbdb5e6e689d2179e1797b6a0427105e0 (diff)
downloadgcc-ca47576a267047a5b00361f168bf850272956248.zip
gcc-ca47576a267047a5b00361f168bf850272956248.tar.gz
gcc-ca47576a267047a5b00361f168bf850272956248.tar.bz2
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/ssp.c')
-rw-r--r--libssp/ssp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libssp/ssp.c b/libssp/ssp.c
index 38e3ec8..69805bc 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"