Skip to content

Commit

Permalink
Merge pull request #11465 from rouault/pdf_build_issue_conda_fix
Browse files Browse the repository at this point in the history
PDF: fix build issue on CondaForge build infrastructure (gcc 13.3)
  • Loading branch information
rouault authored Dec 10, 2024
2 parents 5c222aa + ada4fa7 commit 1ee024f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frmts/pdf/pdfsdk_headers_poppler.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@

#ifdef HAVE_POPPLER

// The "#define private public" hacks we do below do not play well with the
// sstream header.
// Cf https://github.com/conda-forge/gdal-feedstock/pull/1019#issuecomment-2528710051
#include <sstream>

/* Horrible hack because there's a conflict between struct FlateDecode of */
/* include/poppler/Stream.h and the FlateDecode() function of */
/* pdfium/core/include/fpdfapi/fpdf_parser.h. */
Expand Down

0 comments on commit 1ee024f

Please sign in to comment.