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