Summary: There are two types of includes this adds. The first are standard library headers that weer previously included by transitive dependencies, but aren't included under MSVC, so need to be explicitly included. The second type is a couple of portability headers.
Reviewed By: yfeldblum
Differential Revision:
D3513196
fbshipit-source-id:
4f2ac1207aee887ba41c19f5490003e5fe4088f4
#include <sys/types.h>
#include <sys/stat.h>
-#include <fcntl.h>
#include <boost/regex.hpp>
#include <folly/Conv.h>
#include <folly/Memory.h>
#include <folly/String.h>
#include <folly/portability/Environment.h>
+#include <folly/portability/Fcntl.h>
#include <folly/portability/Unistd.h>
namespace folly {
#include <system_error>
#include <boost/algorithm/string.hpp>
-#include <folly/Memory.h>
#include <glog/logging.h>
#include <gtest/gtest.h>
+#include <folly/Memory.h>
+#include <folly/portability/Environment.h>
+
using namespace folly;
using namespace folly::test;
#include <gtest/gtest.h>
+#include <numeric>
+
#include <boost/thread/barrier.hpp>
#include <folly/futures/Future.h>
#include <folly/io/async/test/SocketPair.h>
#include <folly/Conv.h>
+#include <folly/portability/Fcntl.h>
#include <folly/portability/Sockets.h>
#include <folly/portability/Unistd.h>
-#include <fcntl.h>
#include <errno.h>
#include <sys/types.h>
#include <stdexcept>
#include <chrono>
#include <iostream>
+#include <folly/portability/SysTypes.h>
+
namespace folly {
class TimePoint {
* limitations under the License.
*/
+#include <algorithm>
#include <thread>
#include <gtest/gtest.h>
#include <glog/logging.h>
#include <gtest/gtest.h>
-#include <time.h>
+
+#include <folly/portability/Time.h>
using namespace folly::detail;
using namespace folly::test;
#include <folly/detail/MemoryIdler.h>
#include <folly/Baton.h>
+#include <folly/portability/Windows.h>
#include <memory>
#include <thread>
#include <string>
#include <vector>
#include <pthread.h>
-#include <unistd.h>
#include <thread>
#include <gtest/gtest.h>
#include <folly/portability/Asm.h>
+#include <folly/portability/Unistd.h>
using folly::MSLGuard;
using folly::MicroLock;
#include <folly/ThreadLocal.h>
-#include <dlfcn.h>
#include <sys/types.h>
-#include <sys/wait.h>
#include <array>
#include <atomic>
#include <folly/stats/TimeseriesHistogram.h>
#include <folly/stats/TimeseriesHistogram-defs.h>
+#include <random>
+
#include <gtest/gtest.h>
using namespace std;
#include <folly/stats/MultiLevelTimeSeries.h>
#include <folly/stats/MultiLevelTimeSeries-defs.h>
+#include <array>
+
#include <glog/logging.h>
#include <gtest/gtest.h>