From d2f87472feff332e2799b0c7e97305728fad920a Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Fri, 29 Jul 2016 04:00:44 +0000 Subject: Issue #17596: MINGW: add wincrypt.h in Python/random.c Based on patch by Roumen Petrov. --- Misc/NEWS | 2 ++ Python/random.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index 5e75997..6ad1c3a 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -10,6 +10,8 @@ What's New in Python 3.6.0 alpha 4 Core and Builtins ----------------- +- Issue #17596: Include to help with Min GW building. + - Issue #27507: Add integer overflow check in bytearray.extend(). Patch by Xiang Zhang. diff --git a/Python/random.c b/Python/random.c index c8e844e..945269a 100644 --- a/Python/random.c +++ b/Python/random.c @@ -1,6 +1,9 @@ #include "Python.h" #ifdef MS_WINDOWS # include +/* All sample MSDN wincrypt programs include the header below. It is at least + * required with Min GW. */ +# include #else # include # ifdef HAVE_SYS_STAT_H -- cgit v0.12