17 lines
505 B
Diff
17 lines
505 B
Diff
diff -Naur a/Python/random.c b/Python/random.c
|
|
--- a/Python/random.c 2014-05-19 09:19:40.000000000 +0400
|
|
+++ b/Python/random.c 2014-05-20 00:54:29.652400000 +0400
|
|
@@ -1,6 +1,12 @@
|
|
#include "Python.h"
|
|
#ifdef MS_WINDOWS
|
|
#include <windows.h>
|
|
+#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 <wincrypt.h>
|
|
+#endif
|
|
#else
|
|
#include <fcntl.h>
|
|
#ifdef HAVE_SYS_STAT_H
|