Просмотр исходного кода

G++3 fixes from Randolph
Author: jgg
Date: 2001-05-22 04:01:41 GMT
G++3 fixes from Randolph

Arch Librarian лет назад: 22
Родитель
Сommit
076cc66413
2 измененных файлов с 9 добавлено и 2 удалено
  1. 5 1
      methods/cdrom.cc
  2. 4 1
      methods/ftp.cc

+ 5 - 1
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;

+ 4 - 1
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