From b6ed6b394419ab079fa2ddfd2de053fb7f6e1b95 Mon Sep 17 00:00:00 2001 From: Bert Maher Date: Fri, 25 Mar 2016 20:36:30 -0700 Subject: [PATCH] Fix portability/Time.h on OSX Summary: It needs stdint to define uint8_t Reviewed By: yfeldblum, mzlee Differential Revision: D3101140 fb-gh-sync-id: 308507af1ccd81e2eb389a400376556a6cc597b2 fbshipit-source-id: 308507af1ccd81e2eb389a400376556a6cc597b2 --- folly/Benchmark.h | 4 +++- folly/portability/Time.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/folly/Benchmark.h b/folly/Benchmark.h index e73dc7c9..7ca0b748 100644 --- a/folly/Benchmark.h +++ b/folly/Benchmark.h @@ -17,9 +17,11 @@ #ifndef FOLLY_BENCHMARK_H_ #define FOLLY_BENCHMARK_H_ -#include #include #include // for FB_ANONYMOUS_VARIABLE +#include +#include + #include #include #include diff --git a/folly/portability/Time.h b/folly/portability/Time.h index 1980377f..642a95de 100755 --- a/folly/portability/Time.h +++ b/folly/portability/Time.h @@ -16,6 +16,7 @@ #pragma once +#include #include #include -- 2.34.1