Skip to content

Commit

Permalink
Roll buildroot to pick up new NDK r17b (#6131)
Browse files Browse the repository at this point in the history
  • Loading branch information
goderbauer authored Aug 31, 2018
1 parent f612a76 commit 8425468
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ allowed_hosts = [
]

deps = {
'src': 'https://github.com/flutter/buildroot.git' + '@' + '4fd7a2738de8fc8f9b498437cde96c1bf7562a04',
'src': 'https://github.com/flutter/buildroot.git' + '@' + '101c573fa3d412f1a0a8e391905b817bb830a93f',

# Fuchsia compatibility
#
Expand Down
5 changes: 4 additions & 1 deletion fml/platform/linux/timerfd.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
#include "flutter/fml/time/time_point.h"

// clang-format off
#if __has_include(<sys/timerfd.h>)
#if __has_include(<sys/timerfd.h>) && \
(!defined(__ANDROID_API__) || __ANDROID_API__ >= 19)
// sys/timerfd.h is always present in Android NDK due to unified headers,
// but timerfd functions are only available on API 19 or later.
// clang-format on

#include <sys/timerfd.h>
Expand Down

0 comments on commit 8425468

Please sign in to comment.