diff options
Diffstat (limited to 'methods')
-rw-r--r-- | methods/cdrom.cc | 6 | ||||
-rw-r--r-- | methods/ftp.cc | 5 |
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 |