re PR target/65867 (bootstrap fails for mingw32 due to missing header in ssp.c)
authorDaniel Starke <daniel.f.starke@freenet.de>
Tue, 9 Feb 2016 19:16:30 +0000 (19:16 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 9 Feb 2016 19:16:30 +0000 (12:16 -0700)
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

libssp/ChangeLog
libssp/ssp.c

index 47e7339dc9354fbe1ca8ebd05c73c8244379f377..036257f1b0696e5239fc11349418c4812c22066a 100644 (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.
index 38e3ec83f6b5051770aa813a2b9a25bebd7f7402..69805bcfc03c69807037d6fd58a8d0a607f1b318 100644 (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"