summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/error.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-09-10 16:03:07 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-09-10 16:03:07 +0200
commit4f333a8bea2c8431df2ec92001981355623818e8 (patch)
tree8f0cb2fbbf8a7a285180153e3ad96713a4b1259b /apt-pkg/contrib/error.cc
parent646501c8fd4c747b8162b87ecaa8406b1509be84 (diff)
* make apt build with g++ 4.3
Diffstat (limited to 'apt-pkg/contrib/error.cc')
-rw-r--r--apt-pkg/contrib/error.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/contrib/error.cc b/apt-pkg/contrib/error.cc
index 8c2d6cb19..db8c53c36 100644
--- a/apt-pkg/contrib/error.cc
+++ b/apt-pkg/contrib/error.cc
@@ -19,10 +19,12 @@
#include <iostream>
#include <errno.h>
#include <stdio.h>
-#include <string>
#include <stdarg.h>
#include <unistd.h>
+#include <string>
+#include <cstring>
+
#include "config.h"
/*}}}*/