Commit b7a40a73 authored by Victor Zverovich's avatar Victor Zverovich Committed by Facebook Github Bot

Fix various includes and dependencies

Summary:
This fixes various include and dependency issues found when building
`folly/compression/test/facebook:compression_fuzz_test.so` with modules.

Reviewed By: yfeldblum

Differential Revision: D9271280

fbshipit-source-id: e0ae46c2a6d95c8f4d0a66e3dc20e1d045ffc6a4
parent 8bb021de
...@@ -17,7 +17,9 @@ ...@@ -17,7 +17,9 @@
#pragma once #pragma once
#include <atomic> #include <atomic>
#include <cassert>
#include <cstdint> #include <cstdint>
#include <system_error>
#include <folly/portability/SysMman.h> #include <folly/portability/SysMman.h>
#include <folly/portability/Unistd.h> #include <folly/portability/Unistd.h>
......
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
// //
// Author: andrei.alexandrescu@fb.com // Author: andrei.alexandrescu@fb.com
#include <boost/random/mersenne_twister.hpp>
#include <folly/Benchmark.h> #include <folly/Benchmark.h>
#include <folly/FBString.h> #include <folly/FBString.h>
#include <folly/Random.h> #include <folly/Random.h>
...@@ -27,7 +29,7 @@ namespace test { ...@@ -27,7 +29,7 @@ namespace test {
namespace detail { namespace detail {
auto static const seed = randomNumberSeed(); auto static const seed = randomNumberSeed();
typedef boost::mt19937 RandomT; typedef boost::random::mt19937 RandomT;
static RandomT rng(seed); static RandomT rng(seed);
template <class Integral1, class Integral2> template <class Integral1, class Integral2>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment