diff --git a/build.windows.ps1 b/build.windows.ps1 index 2c024594..013c1e76 100644 --- a/build.windows.ps1 +++ b/build.windows.ps1 @@ -75,6 +75,7 @@ Push-Location $WEBRTC_DIR git apply --ignore-whitespace -p 2 $PATCH_DIR\add_licenses.patch git apply --ignore-whitespace -p 2 $PATCH_DIR\windows_fix_towupper.patch git apply --ignore-whitespace $PATCH_DIR\windows_fix_abseil.patch + git apply --ignore-whitespace $PATCH_DIR\windows_fix_optional.patch Pop-Location Pop-Location diff --git a/patch/windows_fix_optional.patch b/patch/windows_fix_optional.patch new file mode 100644 index 00000000..ebb0b889 --- /dev/null +++ b/patch/windows_fix_optional.patch @@ -0,0 +1,10 @@ +--- a/rtc_base/ssl_stream_adapter.h ++++ b/rtc_base/ssl_stream_adapter.h +@@ -15,6 +15,7 @@ + #include + + #include ++#include + #include + #include +