From 7a78293e749feefdcd44040b27e84e4047af4eec Mon Sep 17 00:00:00 2001 From: Louis Brandy Date: Tue, 3 Nov 2015 17:13:54 -0800 Subject: [PATCH] make folly slightly more c++-modules friendly Summary: .. by including what you use. These are a handful of headers that are depended on via viral inclusion. Include them directly. Reviewed By: yfeldblum Differential Revision: D2601172 fb-gh-sync-id: 215e87263325d085fbcb651f83f429f47d14fc1b --- folly/Padded.h | 1 + folly/detail/CacheLocality.h | 1 + folly/detail/DiscriminatedPtrDetail.h | 1 + folly/stats/BucketedTimeSeries-defs.h | 1 + 4 files changed, 4 insertions(+) diff --git a/folly/Padded.h b/folly/Padded.h index 9f8af135..50fb8d78 100644 --- a/folly/Padded.h +++ b/folly/Padded.h @@ -17,6 +17,7 @@ #ifndef FOLLY_PADDED_H_ #define FOLLY_PADDED_H_ +#include #include #include #include diff --git a/folly/detail/CacheLocality.h b/folly/detail/CacheLocality.h index 40d554f4..8731d485 100644 --- a/folly/detail/CacheLocality.h +++ b/folly/detail/CacheLocality.h @@ -18,6 +18,7 @@ #define FOLLY_DETAIL_CACHELOCALITY_H_ #include +#include #include #include #include diff --git a/folly/detail/DiscriminatedPtrDetail.h b/folly/detail/DiscriminatedPtrDetail.h index 9810805e..cb0b407c 100644 --- a/folly/detail/DiscriminatedPtrDetail.h +++ b/folly/detail/DiscriminatedPtrDetail.h @@ -17,6 +17,7 @@ #ifndef FOLLY_DETAIL_DISCRIMINATEDPTRDETAIL_H_ #define FOLLY_DETAIL_DISCRIMINATEDPTRDETAIL_H_ +#include #include namespace folly { diff --git a/folly/stats/BucketedTimeSeries-defs.h b/folly/stats/BucketedTimeSeries-defs.h index 2a51dec0..d14d87d5 100644 --- a/folly/stats/BucketedTimeSeries-defs.h +++ b/folly/stats/BucketedTimeSeries-defs.h @@ -17,6 +17,7 @@ #ifndef FOLLY_STATS_BUCKETEDTIMESERIES_INL_H_ #define FOLLY_STATS_BUCKETEDTIMESERIES_INL_H_ +#include #include #include -- 2.34.1