aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-02-26 14:32:55 +0100
committerJay Berkenbilt <ejb@ql.org>2022-02-26 14:32:55 +0100
commit48467ccdc17564f737322d24670f968be66fa23d (patch)
treec55fcc6437558e3eb58927346bb24a70ebae92b4 /include
parentae17402c52a3a04ae173d6fe5a6e383d5115c88a (diff)
downloadqpdf-48467ccdc17564f737322d24670f968be66fa23d.tar.zst
Pl_DCT.hh -- protect order of includes for code formatting
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/Pl_DCT.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/qpdf/Pl_DCT.hh b/include/qpdf/Pl_DCT.hh
index 11330eda..be714bc7 100644
--- a/include/qpdf/Pl_DCT.hh
+++ b/include/qpdf/Pl_DCT.hh
@@ -23,7 +23,12 @@
#define PL_DCT_HH
#include <qpdf/Pipeline.hh>
+
#include <qpdf/Pl_Buffer.hh>
+#include <cstddef>
+
+// jpeglib.h must be included after cstddef or else it messes up the
+// definition of size_t.
#include <jpeglib.h>
class Pl_DCT: public Pipeline