diff --git a/BUILD.gn b/BUILD.gn index 8385d5bdab2e..9e1b9081bbd3 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -403,6 +403,7 @@ static_library("electron_lib") { } if (is_win) { libs += [ "dwmapi.lib" ] + cflags = [ "-Wno-microsoft-include" ] } if (is_linux || is_win) { deps += [ "//third_party/breakpad:client" ]