mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
Add missing limits header to crashpad.
This patch fixes the following error: ../../third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.cc:246:12: error: 'numeric_limits' is not a member of 'std' std::numeric_limits<decltype(context->spsr)>::max()) { ^~~~~~~~~~~~~~ ../../third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.cc:246:27: error: expected primary-expression before 'decltype' std::numeric_limits<decltype(context->spsr)>::max()) { ^~~~~~~~ ../../third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.cc:246:27: error: expected ')' before 'decltype' Bug: chromium:819294 Change-Id: I4f31a33fcdae9567c71a4d371d2e6afe68d2ef6a Reviewed-on: https://chromium-review.googlesource.com/c/1454376 Commit-Queue: Maksim Sisov <msisov@igalia.com> Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
caad799c28
commit
152aa8d1f9
@ -17,6 +17,8 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include <limits>
|
||||||
|
|
||||||
#include "base/logging.h"
|
#include "base/logging.h"
|
||||||
|
|
||||||
namespace crashpad {
|
namespace crashpad {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user