Hello,

This patch works around a missing include in windows.h (mingw.org) for ssp.c.

ChangeLog

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

    * libssp/ssp.c: Added wincrypt.h include for Windows targets.

Bootstrapped i686-pc-mingw32 (mingw32 version 3.20).

Regards,
Daniel

diff -uart gcc-5.1.0-orig/libssp/ssp.c gcc-5.1.0/libssp/ssp.c
--- gcc-5.1.0-orig/libssp/ssp.c 2015-04-22 20:15:21 +0000
+++ gcc-5.1.0/libssp/ssp.c      2015-04-22 20:15:32 +0000
@@ -56,6 +56,7 @@
    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"

Reply via email to