Index: base/rand_util_win.cc |
diff --git a/base/rand_util_win.cc b/base/rand_util_win.cc |
index 8573b6b601b2fb34324e39dbae8ca60127696ab0..22fdd4da72c83f9e8c189d6467c82d730f5c7f0f 100644 |
--- a/base/rand_util_win.cc |
+++ b/base/rand_util_win.cc |
@@ -5,6 +5,8 @@ |
#include "base/rand_util.h" |
#include <windows.h> |
+#include <stddef.h> |
+#include <stdint.h> |
// #define needed to link in RtlGenRandom(), a.k.a. SystemFunction036. See the |
// "Community Additions" comment on MSDN here: |
@@ -21,8 +23,8 @@ |
namespace base { |
// NOTE: This function must be cryptographically secure. http://crbug.com/140076 |
-uint64 RandUint64() { |
- uint64 number; |
+uint64_t RandUint64() { |
+ uint64_t number; |
RandBytes(&number, sizeof(number)); |
return number; |
} |