logging: set the thread name for the AsyncFileWriter thread
[folly.git] / folly / Random.h
index 0042176b68d474c2a73d8e9a20d18bf49ae105a9..e74d64b14dcf441c944483092f7a6b8491fb4f2d 100644 (file)
 #pragma once
 #define FOLLY_RANDOM_H_
 
+#include <array>
 #include <cstdint>
 #include <random>
 #include <type_traits>
 
 #include <folly/Portability.h>
+#include <folly/Traits.h>
 
 #if FOLLY_HAVE_EXTRANDOM_SFMT19937
 #include <ext/random>
@@ -292,6 +294,6 @@ inline uint32_t randomNumberSeed() {
   return Random::rand32();
 }
 
-}
+} // namespace folly
 
 #include <folly/Random-inl.h>