Skip to content

Commit

Permalink
PDF: fix build issue on CondaForge build infrastructure (gcc 13.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Dec 9, 2024
1 parent 07ea15f commit ada4fa7
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 ada4fa7

Please sign in to comment.