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. --- Python/random.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Python/random.c') diff --git a/Python/random.c b/Python/random.c index c8e844ee67..945269a2f6 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 v1.2.1