diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-07-29 04:00:44 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-07-29 04:00:44 (GMT) |
commit | d2f87472feff332e2799b0c7e97305728fad920a (patch) | |
tree | 45c37f78570a970aea57252944170ffd90c4d2e0 /Python | |
parent | 6a09315ff098224da138ff708e470ebc1c0ba8ac (diff) | |
download | cpython-d2f87472feff332e2799b0c7e97305728fad920a.zip cpython-d2f87472feff332e2799b0c7e97305728fad920a.tar.gz cpython-d2f87472feff332e2799b0c7e97305728fad920a.tar.bz2 |
Issue #17596: MINGW: add wincrypt.h in Python/random.c
Based on patch by Roumen Petrov.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/random.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <windows.h> +/* All sample MSDN wincrypt programs include the header below. It is at least + * required with Min GW. */ +# include <wincrypt.h> #else # include <fcntl.h> # ifdef HAVE_SYS_STAT_H |