From 8405ec3ab2b3fd19a1a6b1a035f7f9401ac2ca8b Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Mon, 27 Mar 2017 15:25:57 -0700 Subject: [PATCH] Speculative fix for broken build on Mac bots. (#3527) --- fml/platform/darwin/message_loop_darwin.mm | 1 + fml/thread.cc | 10 ++-------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/fml/platform/darwin/message_loop_darwin.mm b/fml/platform/darwin/message_loop_darwin.mm index 6e86ef233ae..b6457abcfcd 100644 --- a/fml/platform/darwin/message_loop_darwin.mm +++ b/fml/platform/darwin/message_loop_darwin.mm @@ -4,6 +4,7 @@ #include "flutter/fml/platform/darwin/message_loop_darwin.h" +#include #include namespace fml { diff --git a/fml/thread.cc b/fml/thread.cc index 62ff298cf24..e505a46754c 100644 --- a/fml/thread.cc +++ b/fml/thread.cc @@ -4,6 +4,8 @@ #include "flutter/fml/thread.h" +#include + #include #include @@ -11,14 +13,6 @@ #include "lib/ftl/build_config.h" #include "lib/ftl/synchronization/waitable_event.h" -#if OS_MACOSX -#include -#elif OS_LINUX || OS_ANDROID -#include -#else -#error Unsupported Platform -#endif - namespace fml { Thread::Thread(const std::string& name) : joined_(false) {