summaryrefslogtreecommitdiff
path: root/apt-pkg
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 /apt-pkg
parent4e86942abf369e5bce6c3612d0e8f2aa5a9f2821 (diff)
downloadapt-526334a0e19626c0a77e029ba0ac546cc20f6756.tar.gz
build fixes for g++-4.4
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire.cc3
-rw-r--r--apt-pkg/contrib/sha256.h1
2 files changed, 3 insertions, 1 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;