Speculative fix for broken build on Mac bots. (#3527)

This commit is contained in:
Chinmay Garde 2017-03-27 15:25:57 -07:00 committed by GitHub
parent c7914e2573
commit 8405ec3ab2
2 changed files with 3 additions and 8 deletions

View File

@ -4,6 +4,7 @@
#include "flutter/fml/platform/darwin/message_loop_darwin.h"
#include <CoreFoundation/CoreFoundation.h>
#include <Foundation/Foundation.h>
namespace fml {

View File

@ -4,6 +4,8 @@
#include "flutter/fml/thread.h"
#include <pthread.h>
#include <memory>
#include <string>
@ -11,14 +13,6 @@
#include "lib/ftl/build_config.h"
#include "lib/ftl/synchronization/waitable_event.h"
#if OS_MACOSX
#include <pthread/pthread.h>
#elif OS_LINUX || OS_ANDROID
#include <pthread.h>
#else
#error Unsupported Platform
#endif
namespace fml {
Thread::Thread(const std::string& name) : joined_(false) {