From: Roland Hieber Date: Fri, 11 Aug 2017 11:44:26 +0200 Subject: [PATCH] Form.h: fix error: 'vector' in namespace 'std' does not name a type Original error message while compiling with OSELAS.Toolchain-2016.06.1-arm-v7a-linux-gnueabi, gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized: make[5]: Entering directory '/ptx/work/dude/WORK_B/rhi/OSELAS.BSP-Miele-PST/platform-cpu20/build-target/poppler-0.57.0/qt4/src' CXX libpoppler_qt4_la-poppler-form.lo In file included from poppler-form.cc:26:0: ../../poppler/Form.h:544:14: error: 'vector' in namespace 'std' does not name a template type ../../poppler/Form.h:556:8: error: 'vector' in namespace 'std' does not name a template type Makefile:735: recipe for target 'libpoppler_qt4_la-poppler-form.lo' failed configure arguments were: --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib --host=arm-v7a-linux-gnueabi --build=x86_64-host-linux-gnu --enable-option-checking --disable-silent-rules --disable-dependency-tracking --enable-shared --enable-fast-install --enable-libtool-lock --enable-xpdf-headers --enable-build-type=release --disable-single-precision --enable-fixedpoint --enable-cmyk --disable-relocatable --enable-libopenjpeg=none --disable-libnss --disable-libtiff --enable-largefile --enable-zlib --disable-zlib-uncompress --enable-libcurl --enable-dctdecoder=libjpeg --enable-libpng --disable-splash-output --enable-cairo-output --enable-poppler-glib --disable-introspection --disable-gtk-doc --disable-gtk-doc-html --disable-gtk-doc-pdf --enable-poppler-qt4 --disable-poppler-qt5 --enable-poppler-cpp --disable-gtk-test --enable-utils --disable-compile-warnings --enable-cms=lcms1 --without-x --with-font-configuration=fontconfig --without-libiconv-prefix --with-testdatadir= Signed-off-by: Roland Hieber --- poppler/Form.h | 1 + 1 file changed, 1 insertion(+) diff --git a/poppler/Form.h b/poppler/Form.h index 8ddb6fe3d638..e0a3a28767bb 100644 --- a/poppler/Form.h +++ b/poppler/Form.h @@ -27,6 +27,7 @@ #include "Annot.h" #include +#include class GooString; class Array;