From b52f5cff21e27da9dada742981a18a175b65a3a7 Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 8 Oct 2024 18:38:09 +0100 Subject: [PATCH] WebBrowserComponent: Fix build issue on older linux platforms Previously, building the DemoRunner on Ubuntu 18.04 failed due to a missing type declaration. --- .../juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp b/modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp index 81162d082d..38033d7adc 100644 --- a/modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp +++ b/modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp @@ -32,6 +32,11 @@ ============================================================================== */ +// This type isn't in the headers until v2.36 +#if ! WEBKIT_CHECK_VERSION (2, 36, 0) +struct WebKitURISchemeResponse; +#endif + namespace juce {