mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
a8ff626764
There are a few files in the tree which use various functions defined in string.h (memcpy, strlen, strnlen, memmove, etc), but never include the necessary header file. After I've recently updated one of my systems to a newer glibc version (2.30) this code failed to build. Adding the missing includes fixes the problem. The undeclared functions for each file are: * simple_address_range_bag.h - memcpy * http_multipart_builder.cc - strlen * minidump_context_converter.cc - memcpy * ptrace_client.cc - strlen * http_transport_socket.cc - strncpy, strlen, memcpy * process_memory.cc - memchr * log_output_stream.cc - strlen Change-Id: I3108c36b8a6927ac11f6839606cb495926fa9e4e Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2207139 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>