Commit 48467ccdc17564f737322d24670f968be66fa23d

Authored by Jay Berkenbilt
1 parent ae17402c

Pl_DCT.hh -- protect order of includes for code formatting

Showing 1 changed file with 5 additions and 0 deletions
include/qpdf/Pl_DCT.hh
@@ -23,7 +23,12 @@ @@ -23,7 +23,12 @@
23 #define PL_DCT_HH 23 #define PL_DCT_HH
24 24
25 #include <qpdf/Pipeline.hh> 25 #include <qpdf/Pipeline.hh>
  26 +
26 #include <qpdf/Pl_Buffer.hh> 27 #include <qpdf/Pl_Buffer.hh>
  28 +#include <cstddef>
  29 +
  30 +// jpeglib.h must be included after cstddef or else it messes up the
  31 +// definition of size_t.
27 #include <jpeglib.h> 32 #include <jpeglib.h>
28 33
29 class Pl_DCT: public Pipeline 34 class Pl_DCT: public Pipeline