summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/error.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:57:53 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:57:53 +0000
commit4d055c05ce287dabd9e224af5c71d690a44b2db6 (patch)
tree2b2c9a976dc88f1aec2b381f0c03c8ed597adeab /apt-pkg/contrib/error.cc
parent233b185f104d72df97b953362ef154e628a3c4c8 (diff)
G++3 fixes from Randolph
Author: jgg Date: 2001-05-07 05:25:13 GMT G++3 fixes from Randolph
Diffstat (limited to 'apt-pkg/contrib/error.cc')
-rw-r--r--apt-pkg/contrib/error.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/apt-pkg/contrib/error.cc b/apt-pkg/contrib/error.cc
index b60bd09a7..6aa740d29 100644
--- a/apt-pkg/contrib/error.cc
+++ b/apt-pkg/contrib/error.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: error.cc,v 1.9 2001/02/20 07:03:17 jgg Exp $
+// $Id: error.cc,v 1.10 2001/05/07 05:28:44 jgg Exp $
/* ######################################################################
Global Erorr Class - Global error mechanism
@@ -20,15 +20,18 @@
#include <apt-pkg/error.h>
+#include <iostream.h>
#include <errno.h>
#include <stdio.h>
-#include <string.h>
+#include <string>
#include <stdarg.h>
#include <unistd.h>
#include "config.h"
/*}}}*/
+using namespace std;
+
// Global Error Object /*{{{*/
/* If the implementation supports posix threads then the accessor function
is compiled to be thread safe otherwise a non-safe version is used. A