aboutsummaryrefslogtreecommitdiff
path: root/libcody
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-12-21 09:16:48 -0800
committerNathan Sidwell <nathan@acm.org>2020-12-21 09:20:15 -0800
commit1467a5c5ab0dfbae3175b4a326467f939864dadb (patch)
tree145a40d6af3151cf30d62eceb25a91d34c382717 /libcody
parentcf22f78ff6ead2b1f022d7e7367daedf459aa355 (diff)
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.cc1
-rw-r--r--libcody/server.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/libcody/client.cc b/libcody/client.cc
index 54111b851d0..edfe44d34b2 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 b9ceec48a68..e2fa069bb93 100644
--- a/libcody/server.cc
+++ b/libcody/server.cc
@@ -8,6 +8,7 @@
#include <tuple>
// C
#include <cerrno>
+#include <cstdlib>
#include <cstring>
// Server code