summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2009-10-13 06:54:34 -0700
committerDaniel Burrows <dburrows@debian.org>2009-10-13 06:54:34 -0700
commitc0e0224731bd7d398ef2ab89cdda441913895986 (patch)
treef7c582b4bd05d4cc6089a238e5f33f488982b74b
parentc1c2673057bee1afeedbfa0a32e77cb083198514 (diff)
downloadaptitude-c0e0224731bd7d398ef2ab89cdda441913895986.tar.gz
Include string.h from temp.cc.
It will pick this up from aptitude.h; this is just for robustness.
-rw-r--r--src/generic/util/temp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/generic/util/temp.cc b/src/generic/util/temp.cc
index 8442056b..5f0f0bb4 100644
--- a/src/generic/util/temp.cc
+++ b/src/generic/util/temp.cc
@@ -1,6 +1,6 @@
// temp.cc
//
-// Copyright (C) 2005, 2007 Daniel Burrows
+// Copyright (C) 2005, 2007, 2009 Daniel Burrows
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
@@ -24,6 +24,7 @@
#include <aptitude.h>
#include <stdlib.h>
+#include <string.h>
#include <apt-pkg/error.h>