Fix portability/Time.h on OSX
authorBert Maher <bertrand@fb.com>
Sat, 26 Mar 2016 03:36:30 +0000 (20:36 -0700)
committerFacebook Github Bot 0 <facebook-github-bot-0-bot@fb.com>
Sat, 26 Mar 2016 03:50:22 +0000 (20:50 -0700)
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
folly/portability/Time.h

index e73dc7c94c4cdf75c28f811f36052008493017dc..7ca0b7480f0aff34cdc13138cbcac419079803fc 100644 (file)
 #ifndef FOLLY_BENCHMARK_H_
 #define FOLLY_BENCHMARK_H_
 
-#include <folly/ScopeGuard.h>
 #include <folly/Portability.h>
 #include <folly/Preprocessor.h> // for FB_ANONYMOUS_VARIABLE
+#include <folly/ScopeGuard.h>
+#include <folly/portability/Time.h>
+
 #include <cassert>
 #include <ctime>
 #include <boost/function_types/function_arity.hpp>
index 1980377f92b05f20eb973900ab72996e012e7f16..642a95de59e06365b01dbde8c9fe18987865014d 100755 (executable)
@@ -16,6 +16,7 @@
 
 #pragma once
 
+#include <stdint.h>
 #include <time.h>
 
 #include <folly/portability/Config.h>