aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2008-11-23 20:11:24 +0100
committerJay Berkenbilt <ejb@ql.org>2008-11-23 20:11:24 +0100
commit07dc592182cb5e8a9e10bd4bcb000112a28bc24c (patch)
treefc13575c180c1e18561d637cec2eea944255c200
parent1f67d95e2583e01a0ea5ba1234d7274bbc62c607 (diff)
downloadqpdf-07dc592182cb5e8a9e10bd4bcb000112a28bc24c.tar.zst
gcc 4.4 fixes
git-svn-id: svn+q:///qpdf/trunk@642 71b93d88-0707-0410-a8cf-f5a4172ac649
-rw-r--r--ChangeLog3
-rw-r--r--libqpdf/QPDF_Name.cc1
-rw-r--r--libtests/bits.cc1
-rw-r--r--libtests/md5.cc1
4 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2b9e16a1..bd85ad90 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2008-11-23 Jay Berkenbilt <ejb@ql.org>
+ * Include stdio.h in a few files for proper compilation with (yet
+ to be released) gcc 4.4
+
* updated embedded qtest to version 1.3
* libqpdf/QPDF_String.cc (QPDF_String::getUTF8Val): handle
diff --git a/libqpdf/QPDF_Name.cc b/libqpdf/QPDF_Name.cc
index d3c4ed40..2dac795f 100644
--- a/libqpdf/QPDF_Name.cc
+++ b/libqpdf/QPDF_Name.cc
@@ -2,6 +2,7 @@
#include <qpdf/QPDF_Name.hh>
#include <string.h>
+#include <stdio.h>
QPDF_Name::QPDF_Name(std::string const& name) :
name(name)
diff --git a/libtests/bits.cc b/libtests/bits.cc
index 09f5d8e2..89516ae6 100644
--- a/libtests/bits.cc
+++ b/libtests/bits.cc
@@ -3,6 +3,7 @@
#include <qpdf/BitWriter.hh>
#include <qpdf/Pl_Buffer.hh>
#include <iostream>
+#include <stdio.h>
// See comments in bits.cc
#define BITS_TESTING 1
diff --git a/libtests/md5.cc b/libtests/md5.cc
index e1c69bb6..1d33f9a6 100644
--- a/libtests/md5.cc
+++ b/libtests/md5.cc
@@ -3,6 +3,7 @@
#include <qpdf/Pl_MD5.hh>
#include <qpdf/Pl_Discard.hh>
#include <iostream>
+#include <stdio.h>
static void test_string(char const* str)
{