From 8c9cf773372e8d790b07e801ed1aaa64615b8c95 Mon Sep 17 00:00:00 2001 From: Akiba So Date: Sun, 21 Jun 2026 05:49:26 +0800 Subject: [PATCH] fix(windows): add flutter_engine.h include ocr_channel.cpp calls engine->messenger() but only had a forward declaration of flutter::FlutterEngine. Include the engine header so the type is complete (fixes C2027 + the cascading make_unique error that broke the Windows compile at ocr_channel.cpp:76). --- windows/runner/ocr_channel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/windows/runner/ocr_channel.cpp b/windows/runner/ocr_channel.cpp index 1e7b2a5..2a44954 100644 --- a/windows/runner/ocr_channel.cpp +++ b/windows/runner/ocr_channel.cpp @@ -1,6 +1,7 @@ #include "ocr_channel.h" #include +#include #include #include