aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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