diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-12-21 09:16:48 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-12-21 09:20:15 -0800 |
commit | 1467a5c5ab0dfbae3175b4a326467f939864dadb (patch) | |
tree | 145a40d6af3151cf30d62eceb25a91d34c382717 /libcody | |
parent | cf22f78ff6ead2b1f022d7e7367daedf459aa355 (diff) | |
download | gcc-1467a5c5ab0dfbae3175b4a326467f939864dadb.zip gcc-1467a5c5ab0dfbae3175b4a326467f939864dadb.tar.gz gcc-1467a5c5ab0dfbae3175b4a326467f939864dadb.tar.bz2 |
bootstrap: std:stoul non-portable [PR 98412]
Fix some more system-specific issues. Not everyone's C++11 is the same :(
PR bootstrap/98412
libcody/
* client.cc: Include cstdlib.
* server.cc: Include cstdlib.
gcc/cp/
* mapper-client.cc: INCLUDE_STRING, INCLUDE_VECTOR.
(module_client::open_module_client): Avoid std::stoul.
* mapper-resolver.cc: INCLUDE_STRING, INCLUDE_VECTOR.
Diffstat (limited to 'libcody')
-rw-r--r-- | libcody/client.cc | 1 | ||||
-rw-r--r-- | libcody/server.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libcody/client.cc b/libcody/client.cc index 54111b8..edfe44d 100644 --- a/libcody/client.cc +++ b/libcody/client.cc @@ -6,6 +6,7 @@ #include "internal.hh" // C #include <cerrno> +#include <cstdlib> #include <cstring> // Client code diff --git a/libcody/server.cc b/libcody/server.cc index b9ceec4..e2fa069 100644 --- a/libcody/server.cc +++ b/libcody/server.cc @@ -8,6 +8,7 @@ #include <tuple> // C #include <cerrno> +#include <cstdlib> #include <cstring> // Server code |