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: Undefined functions because of missing std:: or header. (#295) * [bcc32 Error] QPDF.cc(375): E2268 Call to undefined function 'atof' Full parser context QPDF.cc(358): parsing: void QPDF::parse(const char *) * [bcc32 Error] QPDFTokenizer.cc(183): E2268 Call to undefined function 'strtol' Full parser context QPDFTokenizer.cc(163): parsing: void QPDFTokenizer::resolveLiteral() * [bcc32 Error] pdf-split-pages.cc(52): E2268 Call to undefined function 'exit' Full parser context pdf-split-pages.cc(50): parsing: void usage() * PR #295: Including "cstdlib" should be replaced with "stdlib.h" to be more consistent. At the same time I changed the order of the surrounding includes to reflect alphabetical order, because at some files this already have been the case. --- libqpdf/QPDFTokenizer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libqpdf/QPDFTokenizer.cc') diff --git a/libqpdf/QPDFTokenizer.cc b/libqpdf/QPDFTokenizer.cc index 80fcf347..ff5ebe15 100644 --- a/libqpdf/QPDFTokenizer.cc +++ b/libqpdf/QPDFTokenizer.cc @@ -10,8 +10,8 @@ #include #include +#include #include -#include static bool is_delimiter(char ch) { -- cgit v1.2.3-54-g00ecf