From 2c704b99a100728e35f1c78a37d686c5e2149b08 Mon Sep 17 00:00:00 2001 From: Thorsten Schöning <6223655+ams-tschoening@users.noreply.github.com> Date: Tue, 12 Mar 2019 15:05:29 +0100 Subject: [PATCH] Undefined functions because of missing std:: or header. (#295) --- examples/pdf-split-pages.cc | 5 +++-- ispell-words | 1 - libqpdf/Pl_DCT.cc | 5 +++-- libqpdf/QPDF.cc | 1 + libqpdf/QPDFTokenizer.cc | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/examples/pdf-split-pages.cc b/examples/pdf-split-pages.cc index aa089e5..b6dd701 100644 --- a/examples/pdf-split-pages.cc +++ b/examples/pdf-split-pages.cc @@ -8,9 +8,10 @@ #include #include #include -#include + #include -#include +#include +#include static char const* whoami = 0; static bool static_id = false; diff --git a/ispell-words b/ispell-words index 9d60b74..ff0f312 100644 --- a/ispell-words +++ b/ispell-words @@ -400,7 +400,6 @@ cso csoe css cstdio -cstdlib cstr cstring ctest diff --git a/libqpdf/Pl_DCT.cc b/libqpdf/Pl_DCT.cc index 8e1a517..ceecc51 100644 --- a/libqpdf/Pl_DCT.cc +++ b/libqpdf/Pl_DCT.cc @@ -2,10 +2,11 @@ #include #include + #include -#include #include -#include +#include +#include #if BITS_IN_JSAMPLE != 8 # error "qpdf does not support libjpeg built with BITS_IN_JSAMPLE != 8" diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc index e9d0b77..61fd792 100644 --- a/libqpdf/QPDF.cc +++ b/libqpdf/QPDF.cc @@ -4,6 +4,7 @@ #include #include #include +#include #include #include diff --git a/libqpdf/QPDFTokenizer.cc b/libqpdf/QPDFTokenizer.cc index 80fcf34..ff5ebe1 100644 --- a/libqpdf/QPDFTokenizer.cc +++ b/libqpdf/QPDFTokenizer.cc @@ -10,8 +10,8 @@ #include #include +#include #include -#include static bool is_delimiter(char ch) { -- libgit2 0.21.4