summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-02-26 15:17:14 +0100
committerJulian Andres Klode <jak@debian.org>2016-02-26 15:17:14 +0100
commit2f4e4070a5247abac86b2ca4ae24a8400da3c42e (patch)
tree13dcdc1d3345d49b9a1b1a77a9a5cbd067f0fc6b /apt-pkg
parent9de2fd4d117e57824f4a0795efa7379995a804cb (diff)
Add missing numeric includes in files using std::accumulate()
Reported-By: Helmut Grohne on IRC
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire-item.cc1
-rw-r--r--apt-pkg/deb/dpkgpm.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 03baa9751..4c1d93be1 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -45,6 +45,7 @@
#include <stdio.h>
#include <ctime>
#include <sstream>
+#include <numeric>
#include <apti18n.h>
/*}}}*/
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 90e33bff4..1afcb6527 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -49,6 +49,7 @@
#include <utility>
#include <vector>
#include <sstream>
+#include <numeric>
#include <apti18n.h>
/*}}}*/