actually it seems it was a internal abseil header from pdfium vs. system
header mismatch. Include proper absl/container/inlined_vector.h if using
system-abseil.
While at it we can also just use pkg-config, no idea why I did it
without back then. Also gets the advantage that it knows that the libs
needed for absl_inlined_vector is actually
-labsl_throw_delegate -labsl_raw_logging_internal -labsl_log_severity
This effectively reverts e897231033
Change-Id: Ide4f79860b4e0673c5c6587d503058bdd2930744
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160846
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
15 lines
517 B
Diff
15 lines
517 B
Diff
--- core/fpdfapi/page/cpdf_sampledfunc.cpp 2023-12-15 23:27:10.955659091 +0100
|
|
+++ core/fpdfapi/page/cpdf_sampledfunc.cpp 2023-12-15 23:27:43.420136476 +0100
|
|
@@ -16,8 +16,11 @@
|
|
#include "core/fxcrt/cfx_bitstream.h"
|
|
#include "core/fxcrt/fx_memory_wrappers.h"
|
|
#include "core/fxcrt/fx_safe_types.h"
|
|
+#ifdef USE_SYSTEM_ABSEIL
|
|
+#include <absl/container/inlined_vector.h>
|
|
+#else
|
|
#include "third_party/abseil-cpp/absl/container/inlined_vector.h"
|
|
-
|
|
+#endif
|
|
namespace {
|
|
|
|
// See PDF Reference 1.7, page 170, table 3.36.
|