Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 4f9f21a

Browse files
committed
include for windows
1 parent dbcbd68 commit 4f9f21a

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

impeller/entity/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ impeller_component("entity") {
247247
}
248248

249249
deps = [ "//flutter/fml" ]
250+
defines = [ "_USE_MATH_DEFINES" ]
250251
}
251252

252253
impeller_component("entity_test_helpers") {

impeller/entity/contents/filters/gaussian_blur_filter_contents.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
#include "impeller/entity/contents/filters/gaussian_blur_filter_contents.h"
66

7+
#include <cmath>
8+
79
#include "impeller/entity/contents/content_context.h"
810
#include "impeller/entity/texture_fill.frag.h"
911
#include "impeller/entity/texture_fill.vert.h"

0 commit comments

Comments
 (0)