From f6d0eeebbc1ec4d1cc0c3e59731ab0cec049bacd Mon Sep 17 00:00:00 2001 From: Roumen Petrov Date: Sat, 23 Feb 2013 19:47:15 +0200 Subject: [PATCH 06/15] MINGW: add wincrypt.h in Python/random.c --- Python/random.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Python/random.c b/Python/random.c index a052b65..5679d21 100644 --- a/Python/random.c +++ b/Python/random.c @@ -1,6 +1,12 @@ #include "Python.h" #ifdef MS_WINDOWS #include +#ifdef __MINGW32__ +/* NOTE: All sample MSDN wincrypt programs include header below as it + * is required to ensure that application could be build properly in + * all cases. */ +# include +#endif #else #include #ifdef HAVE_SYS_STAT_H -- 1.8.4