fix include dependencies in folly/stats
authorSven Over <over@fb.com>
Sun, 25 Dec 2016 08:40:42 +0000 (00:40 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 25 Dec 2016 08:47:54 +0000 (00:47 -0800)
commitd981781257155966cae1470ce40cca8702a3ca20
tree53810d396472b8831e0822d780f745d184de171b
parentbdd2fa6fec5a874a372d6b3afa4b5a39e0882251
fix include dependencies in folly/stats

Summary:
Histogram-defs.h depends on Histogram.h, so it should include it.

This missing dependency is especially annoying because users who
include both Histogram.h and Histogram-defs.h will find that
clang-format reorders the includes such that Histogram-defs.h will
be included before Histogram.h, which breaks the build.

Same for BucketedTimeSeries-defs.h and TimeseriesHistogram-defs.h.

Reviewed By: pixelb

Differential Revision: D4366282

fbshipit-source-id: 518ef315154c28beb091e5c097db2bec6eea3ba0
folly/stats/BucketedTimeSeries-defs.h
folly/stats/Histogram-defs.h
folly/stats/TimeseriesHistogram-defs.h