libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 42d9077fc4ffc35d769412a979d91e836adb2536
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Mon Jan 9 08:26:45 2023 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Mon Jan 9 08:26:19 2023 +0000

    Missing include
    
    ...as reported at
    
<https://lists.freedesktop.org/archives/libreoffice/2023-January/089788.html>
    "boost 1.81 breaks libetonyek and gtv-calc-header-bar.cxx",
    
    > 
/home/etna/Tmpbuild/libreoffice/libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx:36:25:
 error: implicit instantiation of undefined template 'std::vector<(anonymous 
namespace)::GtvCalcHeaderBarPrivateImpl::Header>'
    >     std::vector<Header> m_aHeaders;
    >                         ^
    > 
/home/etna/Runtime/BuildSystem/LLVM13WithWASM/bin/../include/c++/v1/iosfwd:251:28:
 note: template is declared here
    > class _LIBCPP_TEMPLATE_VIS vector;
    >                            ^
    
    Change-Id: I6cc93195147979a5bf2785faf4bb0e71a9fd4a94
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145185
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx 
b/libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx
index 22aadbe2f337..6019050236e8 100644
--- a/libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtv-calc-header-bar.cxx
@@ -11,6 +11,7 @@
 
 #include <cmath>
 #include <iostream>
+#include <vector>
 
 #include "gtv-calc-header-bar.hxx"
 

Reply via email to