aboutsummaryrefslogtreecommitdiffstats
path: root/random.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-01 03:52:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-01 03:52:20 +0000
commitdf294e94baee02ca2247b35ce32fb6b0ba26522c (patch)
tree8591e38fac3a58da2f9cfbd82ed6b3a8f3f4284c /random.c
parent61654cc2f1c34a21cab37efebf148c4b4b1da92c (diff)
downloadruby-df294e94baee02ca2247b35ce32fb6b0ba26522c.tar.gz
explicit_bzero.c: needs windows.h
* missing/explicit_bzero.c, random.c (explicit_bzero): SecureZeroMemory() needs windows.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r--random.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/random.c b/random.c
index 3fde5c3495..0ce2aef284 100644
--- a/random.c
+++ b/random.c
@@ -89,6 +89,7 @@ The original copyright notice follows.
# define _WIN32_WINNT 0x400
# undef __WINCRYPT_H__
# endif
+#include <windows.h>
#include <wincrypt.h>
#endif
#include "ruby_atomic.h"