summaryrefslogtreecommitdiff
path: root/apt-inst/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'apt-inst/contrib')
-rw-r--r--apt-inst/contrib/arfile.cc4
-rw-r--r--apt-inst/contrib/extracttar.cc5
2 files changed, 5 insertions, 4 deletions
diff --git a/apt-inst/contrib/arfile.cc b/apt-inst/contrib/arfile.cc
index b423eb4cb..eb708271e 100644
--- a/apt-inst/contrib/arfile.cc
+++ b/apt-inst/contrib/arfile.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: arfile.cc,v 1.6 2003/07/18 14:15:11 mdz Exp $
+// $Id: arfile.cc,v 1.7 2004/01/07 20:39:37 mdz Exp $
/* ######################################################################
AR File - Handle an 'AR' archive
@@ -17,13 +17,13 @@
#ifdef __GNUG__
#pragma implementation "apt-pkg/arfile.h"
#endif
-#include <apti18n.h>
#include <apt-pkg/arfile.h>
#include <apt-pkg/strutl.h>
#include <apt-pkg/error.h>
#include <stdlib.h>
/*}}}*/
+#include <apti18n.h>
struct ARArchive::MemberHeader
{
diff --git a/apt-inst/contrib/extracttar.cc b/apt-inst/contrib/extracttar.cc
index 5d939bd80..63bb2ba80 100644
--- a/apt-inst/contrib/extracttar.cc
+++ b/apt-inst/contrib/extracttar.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: extracttar.cc,v 1.8 2003/07/18 15:35:23 mdz Exp $
+// $Id: extracttar.cc,v 1.9 2004/01/07 20:39:37 mdz Exp $
/* ######################################################################
Extract a Tar - Tar Extractor
@@ -19,7 +19,6 @@
#ifdef __GNUG__
#pragma implementation "apt-pkg/extracttar.h"
#endif
-#include <apti18n.h>
#include <apt-pkg/extracttar.h>
#include <apt-pkg/error.h>
@@ -32,7 +31,9 @@
#include <signal.h>
#include <fcntl.h>
#include <iostream>
+#include <apti18n.h>
/*}}}*/
+
using namespace std;
// The on disk header for a tar file.