summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:57:59 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:57:59 +0000
commit076cc664137ec4b8983a1d9fe69eaaec6a9d4788 (patch)
treea811835f4c1ca5b361eadd4a1f32675132f72db2 /methods
parent4d6f8bdf85ceb8be2f6baae89aaaaa5135c38c47 (diff)
G++3 fixes from Randolph
Author: jgg Date: 2001-05-22 04:01:41 GMT G++3 fixes from Randolph
Diffstat (limited to 'methods')
-rw-r--r--methods/cdrom.cc6
-rw-r--r--methods/ftp.cc5
2 files changed, 9 insertions, 2 deletions
diff --git a/methods/cdrom.cc b/methods/cdrom.cc
index c367c99a1..a2045e729 100644
--- a/methods/cdrom.cc
+++ b/methods/cdrom.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: cdrom.cc,v 1.17 2000/01/17 07:11:49 jgg Exp $
+// $Id: cdrom.cc,v 1.18 2001/05/22 04:01:41 jgg Exp $
/* ######################################################################
CDROM URI method for APT
@@ -16,8 +16,12 @@
#include <sys/stat.h>
#include <unistd.h>
+
+#include <iostream>
/*}}}*/
+using namespace std;
+
class CDROMMethod : public pkgAcqMethod
{
bool DatabaseLoaded;
diff --git a/methods/ftp.cc b/methods/ftp.cc
index 89f144fe5..bbc4a3f22 100644
--- a/methods/ftp.cc
+++ b/methods/ftp.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: ftp.cc,v 1.27 2001/04/10 04:51:50 jgg Exp $
+// $Id: ftp.cc,v 1.28 2001/05/22 04:02:00 jgg Exp $
/* ######################################################################
FTP Aquire Method - This is the FTP aquire method for APT.
@@ -28,6 +28,7 @@
#include <stdio.h>
#include <errno.h>
#include <stdarg.h>
+#include <iostream>
// Internet stuff
#include <netinet/in.h>
@@ -40,6 +41,8 @@
#include "ftp.h"
/*}}}*/
+using namespace std;
+
/* This table is for the EPRT and EPSV commands, it maps the OS address
family to the IETF address families */
struct AFMap