From 8ef2747def3aca8456c14f7e46bfcdf79dbd0a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Tue, 24 May 2022 20:17:31 +0200 Subject: [PATCH] Try to fix compilation on ArchLinux. [GB.POPPLER] * BUG: Try to fix compilation on ArchLinux. --- gb.poppler/src/c_pdf_document.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gb.poppler/src/c_pdf_document.cpp b/gb.poppler/src/c_pdf_document.cpp index 9755318ef..6b8b20009 100644 --- a/gb.poppler/src/c_pdf_document.cpp +++ b/gb.poppler/src/c_pdf_document.cpp @@ -25,6 +25,7 @@ #define __C_PDF_DOCUMENT_CPP +#include #include #include "c_pdf_document.h" @@ -476,7 +477,7 @@ BEGIN_METHOD(PdfPage_FindText, GB_STRING search; GB_INTEGER options) GB_ARRAY result; GEOM_RECTF *rect; - rects = r =poppler_page_find_text_with_options(THIS->current, GB.ToZeroString(ARG(search)), (PopplerFindFlags)VARGOPT(options, POPPLER_FIND_DEFAULT)); + rects = r = poppler_page_find_text_with_options(THIS->current, GB.ToZeroString(ARG(search)), (PopplerFindFlags)VARGOPT(options, POPPLER_FIND_DEFAULT)); GB.Array.New(&result, GB.FindClass("RectF"), 0);