Commit ab18d76b authored by Andrew Gallagher's avatar Andrew Gallagher Committed by Facebook Github Bot

folly: various include fixes for modular build errors

Summary:
- Don't use rule-private `*-inl.h` headers outside of rule.
- Don't `#include` headers inside of namespaces.
- Add missing `#include`s.

Reviewed By: yfeldblum

Differential Revision: D13056548

fbshipit-source-id: 9fb01be3e705cf107bdb55de3bd92300bc4bfec5
parent 82f11a60
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <iosfwd> #include <iosfwd>
#include <folly/Conv.h>
#include <folly/Range.h> #include <folly/Range.h>
#include <folly/lang/Bits.h> #include <folly/lang/Bits.h>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#pragma once #pragma once
#include <exception> #include <exception>
#include <typeinfo>
#include <folly/CPortability.h> #include <folly/CPortability.h>
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#pragma once #pragma once
#include <stddef.h>
#include <cstdint> #include <cstdint>
namespace folly { namespace folly {
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <optional> // @manual #include <optional> // @manual
#endif #endif
#include <type_traits> #include <type_traits>
#include <utility>
namespace folly { namespace folly {
namespace pushmi { namespace pushmi {
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
*/ */
#pragma once #pragma once
#include <atomic>
#include <memory>
#include <mutex>
#include <folly/experimental/pushmi/forwards.h> #include <folly/experimental/pushmi/forwards.h>
namespace folly { namespace folly {
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <folly/experimental/pushmi/executor.h> #include <folly/experimental/pushmi/executor.h>
#include <folly/experimental/pushmi/time_single_sender.h> #include <folly/experimental/pushmi/time_single_sender.h>
#include <algorithm>
#include <queue> #include <queue>
// //
......
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