summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-05-05 15:37:31 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-05-05 15:37:31 +0200
commita00a9b44a1e0abf944d88c36ceaac8afdd207dcb (patch)
tree038dbe61e80ac809de33bb8fc3c74e24f7fb8be6 /apt-pkg
parent7f5aab82708813d86aab04029095988f40a8462e (diff)
ensure that apti18n.h is included last as advertised (Closes: #671623)
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/cachefilter.cc4
-rw-r--r--apt-pkg/packagemanager.cc3
2 files changed, 4 insertions, 3 deletions
diff --git a/apt-pkg/cachefilter.cc b/apt-pkg/cachefilter.cc
index 9ec3fa699..fb444208c 100644
--- a/apt-pkg/cachefilter.cc
+++ b/apt-pkg/cachefilter.cc
@@ -10,11 +10,11 @@
#include <apt-pkg/error.h>
#include <apt-pkg/pkgcache.h>
-#include <apti18n.h>
-
#include <string>
#include <regex.h>
+
+#include <apti18n.h>
/*}}}*/
namespace APT {
namespace CacheFilter {
diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc
index b56619ef5..06151a165 100644
--- a/apt-pkg/packagemanager.cc
+++ b/apt-pkg/packagemanager.cc
@@ -25,9 +25,10 @@
#include <apt-pkg/configuration.h>
#include <apt-pkg/sptr.h>
-#include <apti18n.h>
#include <iostream>
#include <fcntl.h>
+
+#include <apti18n.h>
/*}}}*/
using namespace std;