From 9761509f9ccc3892f42425b904adf1ef10bcb1f4 Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Wed, 16 Jun 2021 07:55:57 -0700 Subject: [PATCH] Fix building on gcc 11 Fixes #12702. Without this include the build is failing with: third_party/ijar/mapped_file_unix.cc: In constructor 'devtools_ijar::MappedOutputFile::MappedOutputFile(const char*, size_t)': third_party/ijar/mapped_file_unix.cc:115:21: error: 'numeric_limits' is not a member of 'std' 115 | std::numeric_limits::max()); | ^~~~~~~~~~~~~~ Closes #13537. PiperOrigin-RevId: 379719635 --- third_party/ijar/mapped_file_unix.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/third_party/ijar/mapped_file_unix.cc b/third_party/ijar/mapped_file_unix.cc index 6e3a90871844..65179e3290ec 100644 --- a/third_party/ijar/mapped_file_unix.cc +++ b/third_party/ijar/mapped_file_unix.cc @@ -15,10 +15,11 @@ #include #include #include -#include #include +#include #include +#include #include "third_party/ijar/mapped_file.h"