From 07dc592182cb5e8a9e10bd4bcb000112a28bc24c Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 23 Nov 2008 19:11:24 +0000 Subject: [PATCH] gcc 4.4 fixes --- ChangeLog | 3 +++ libqpdf/QPDF_Name.cc | 1 + libtests/bits.cc | 1 + libtests/md5.cc | 1 + 4 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2b9e16a..bd85ad9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-11-23 Jay Berkenbilt + * 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 d3c4ed4..2dac795 100644 --- a/libqpdf/QPDF_Name.cc +++ b/libqpdf/QPDF_Name.cc @@ -2,6 +2,7 @@ #include #include +#include QPDF_Name::QPDF_Name(std::string const& name) : name(name) diff --git a/libtests/bits.cc b/libtests/bits.cc index 09f5d8e..89516ae 100644 --- a/libtests/bits.cc +++ b/libtests/bits.cc @@ -3,6 +3,7 @@ #include #include #include +#include // See comments in bits.cc #define BITS_TESTING 1 diff --git a/libtests/md5.cc b/libtests/md5.cc index e1c69bb..1d33f9a 100644 --- a/libtests/md5.cc +++ b/libtests/md5.cc @@ -3,6 +3,7 @@ #include #include #include +#include static void test_string(char const* str) { -- libgit2 0.21.4