aboutsummaryrefslogtreecommitdiff
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
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>
-rw-r--r--paludis/repositories/e/ebuild_id.hh1
-rw-r--r--paludis/repositories/e/pbin_merger.hh2
-rw-r--r--paludis/util/pretty_print.hh1
-rw-r--r--paludis/util/sequence-impl.hh1
-rw-r--r--src/clients/cave/command_command_line.cc1
5 files changed, 5 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild_id.hh b/paludis/repositories/e/ebuild_id.hh
index 04014c6..7c31c4a 100644
--- a/paludis/repositories/e/ebuild_id.hh
+++ b/paludis/repositories/e/ebuild_id.hh
@@ -25,6 +25,7 @@
#include <paludis/repositories/e/eapi-fwd.hh>
#include <paludis/repositories/e/e_repository_id.hh>
#include <paludis/util/exception.hh>
+#include <time.h>
namespace paludis
{
diff --git a/paludis/repositories/e/pbin_merger.hh b/paludis/repositories/e/pbin_merger.hh
index dbc29c5..687242e 100644
--- a/paludis/repositories/e/pbin_merger.hh
+++ b/paludis/repositories/e/pbin_merger.hh
@@ -24,7 +24,7 @@
#include <paludis/tar_merger.hh>
#include <paludis/output_manager-fwd.hh>
#include <paludis/package_id-fwd.hh>
-#include <tr1/memory>
+#include <memory>
namespace paludis
{
diff --git a/paludis/util/pretty_print.hh b/paludis/util/pretty_print.hh
index d45692b..91b4462 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 61efccd..5404b8a 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
diff --git a/src/clients/cave/command_command_line.cc b/src/clients/cave/command_command_line.cc
index b7e7be0..f2718c1 100644
--- a/src/clients/cave/command_command_line.cc
+++ b/src/clients/cave/command_command_line.cc
@@ -18,6 +18,7 @@
*/
#include "command_command_line.hh"
+#include <iostream>
using namespace paludis;
using namespace cave;