aboutsummaryrefslogtreecommitdiff
path: root/paludis/util
diff options
context:
space:
mode:
authorAvatar Bjorn Pagen <bjornpagen@gmail.com> 2018-01-17 23:56:41 -0500
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2018-02-04 20:54:40 +0100
commit55711eef11836428ee434739fc5e0d221f03dad6 (patch)
treea2774b47d89af2617aebf37db5f27e30f787b86f /paludis/util
parente21c3f70ddf2abd4b39c391dec4505ecb449e30f (diff)
downloadpaludis-55711eef11836428ee434739fc5e0d221f03dad6.tar.gz
paludis-55711eef11836428ee434739fc5e0d221f03dad6.tar.xz
build: fix compile against libc++ using clang
added several includes, such as time.h, iostream, and string, as libc++ requires explicit including of these files. tr1/memory is replaced with POSIX defined memory Change-Id: Id859f33f78343d814f47b1e1e34a3dbe23d174e3 Reviewed-on: https://galileo.mailstation.de/gerrit/11152 Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org>
Diffstat (limited to 'paludis/util')
-rw-r--r--paludis/util/pretty_print.hh1
-rw-r--r--paludis/util/sequence-impl.hh1
2 files changed, 2 insertions, 0 deletions
diff --git a/paludis/util/pretty_print.hh b/paludis/util/pretty_print.hh
index d45692ba3..91b44628d 100644
--- a/paludis/util/pretty_print.hh
+++ b/paludis/util/pretty_print.hh
@@ -22,6 +22,7 @@
#include <paludis/util/attributes.hh>
#include <string>
+#include <time.h>
/** \file
* Pretty print function.
diff --git a/paludis/util/sequence-impl.hh b/paludis/util/sequence-impl.hh
index 61efccd08..5404b8aad 100644
--- a/paludis/util/sequence-impl.hh
+++ b/paludis/util/sequence-impl.hh
@@ -25,6 +25,7 @@
#include <paludis/util/wrapped_output_iterator-impl.hh>
#include <paludis/util/wrapped_forward_iterator-impl.hh>
#include <list>
+#include <string>
#include <iterator>
/** \file