diff options
author | 2018-01-17 23:56:41 -0500 | |
---|---|---|
committer | 2018-02-04 20:54:40 +0100 | |
commit | 55711eef11836428ee434739fc5e0d221f03dad6 (patch) | |
tree | a2774b47d89af2617aebf37db5f27e30f787b86f | |
parent | e21c3f70ddf2abd4b39c391dec4505ecb449e30f (diff) | |
download | paludis-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.hh | 1 | ||||
-rw-r--r-- | paludis/repositories/e/pbin_merger.hh | 2 | ||||
-rw-r--r-- | paludis/util/pretty_print.hh | 1 | ||||
-rw-r--r-- | paludis/util/sequence-impl.hh | 1 | ||||
-rw-r--r-- | src/clients/cave/command_command_line.cc | 1 |
5 files changed, 5 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild_id.hh b/paludis/repositories/e/ebuild_id.hh index 04014c677..7c31c4a46 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 dbc29c5cd..687242eae 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 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 diff --git a/src/clients/cave/command_command_line.cc b/src/clients/cave/command_command_line.cc index b7e7be065..f2718c1eb 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; |