summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-04-24 10:12:36 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-04-24 10:12:36 +0200
commit526334a0e19626c0a77e029ba0ac546cc20f6756 (patch)
tree3211ab8ca22ae939570927b004a68091785b2b21
parent4e86942abf369e5bce6c3612d0e8f2aa5a9f2821 (diff)
build fixes for g++-4.4
-rw-r--r--apt-pkg/acquire.cc3
-rw-r--r--apt-pkg/contrib/sha256.h1
-rw-r--r--debian/changelog2
3 files changed, 4 insertions, 2 deletions
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc
index 38944bbac..2e6bd3401 100644
--- a/apt-pkg/acquire.cc
+++ b/apt-pkg/acquire.cc
@@ -24,7 +24,8 @@
#include <iostream>
#include <sstream>
-
+#include <stdio.h>
+
#include <dirent.h>
#include <sys/time.h>
#include <errno.h>
diff --git a/apt-pkg/contrib/sha256.h b/apt-pkg/contrib/sha256.h
index 1951f053b..5934b5641 100644
--- a/apt-pkg/contrib/sha256.h
+++ b/apt-pkg/contrib/sha256.h
@@ -17,6 +17,7 @@
#include <string>
#include <cstring>
#include <algorithm>
+#include <stdint.h>
using std::string;
using std::min;
diff --git a/debian/changelog b/debian/changelog
index 45804bc63..7e953aa9b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -51,7 +51,7 @@ apt (0.7.21) UNRELEASED; urgency=low
* fix problematic use of tolower() when calculating the version
hash by using locale independant tolower_ascii() function.
Thanks to M. Vefa Bicakci (LP: #80248)
-
+ * build fixes for g++-4.4
[ Dereck Wonnacott ]
* apt-ftparchive might write corrupt Release files (LP: #46439)