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