diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-07-29 04:00:44 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-07-29 04:00:44 +0000 |
commit | 93bb5ddfb5524c68a3ab6f66644a976071f6a3f2 (patch) | |
tree | 0546a1ab5322a90720dd0d22075661798a7f7f0f /Python/random.c | |
parent | 3926d2632b052e6ea4e6e0e5173f7a08fa505be9 (diff) | |
download | cpython-93bb5ddfb5524c68a3ab6f66644a976071f6a3f2.tar.gz |
Issue #17596: MINGW: add wincrypt.h in Python/random.c
Based on patch by Roumen Petrov.
Diffstat (limited to 'Python/random.c')
-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 c8e844ee67..945269a2f6 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 |