Commit 3bade5df authored by James Sedgwick's avatar James Sedgwick Committed by Facebook Github Bot

fix rest of non-portable includes

Summary: According to internal linter

Reviewed By: Orvid

Differential Revision: D5051010

fbshipit-source-id: febdeca05ac1cf3ad82617169f90912a445cf173
parent 5086391b
......@@ -15,18 +15,18 @@
*/
#include <folly/detail/Futex.h>
#include <boost/intrusive/list.hpp>
#include <folly/Hash.h>
#include <folly/ScopeGuard.h>
#include <folly/portability/SysSyscall.h>
#include <stdint.h>
#include <string.h>
#include <cerrno>
#include <condition_variable>
#include <mutex>
#include <boost/intrusive/list.hpp>
#include <folly/Hash.h>
#include <folly/ScopeGuard.h>
#ifdef __linux__
# include <errno.h>
# include <linux/futex.h>
# include <sys/syscall.h>
#include <linux/futex.h>
#endif
using namespace std::chrono;
......
/*
* Copyright 2017 Facebook, Inc.
* Copyright 2017-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -13,14 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <folly/experimental/symbolizer/Elf.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <folly/portability/SysMman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <string>
......
......@@ -21,7 +21,6 @@
#include <pthread.h>
#include <signal.h>
#include <sys/types.h>
#include <unistd.h>
#include <algorithm>
#include <atomic>
......@@ -36,6 +35,7 @@
#include <folly/experimental/symbolizer/ElfCache.h>
#include <folly/experimental/symbolizer/Symbolizer.h>
#include <folly/portability/SysSyscall.h>
#include <folly/portability/Unistd.h>
namespace folly { namespace symbolizer {
......
......@@ -21,7 +21,6 @@
#include <iostream>
#include <limits.h>
#include <link.h>
#include <unistd.h>
#ifdef __GNUC__
#include <ext/stdio_filebuf.h>
......@@ -34,10 +33,10 @@
#include <folly/ScopeGuard.h>
#include <folly/String.h>
#include <folly/experimental/symbolizer/Elf.h>
#include <folly/experimental/symbolizer/Dwarf.h>
#include <folly/experimental/symbolizer/Elf.h>
#include <folly/experimental/symbolizer/LineReader.h>
#include <folly/portability/Unistd.h>
/*
* This is declared in `link.h' on Linux platforms, but apparently not on the
......
......@@ -15,8 +15,7 @@
*/
#include <folly/Chrono.h>
#include <gtest/gtest.h>
#include <folly/portability/GTest.h>
using namespace std::chrono;
using namespace folly::chrono;
......
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