| 1 | From 9f63f94a11abc34d40ede8b8712fa15b5844a8c0 Mon Sep 17 00:00:00 2001 |
| 2 | From: Tom Anderson <thomasanderson@chromium.org> |
| 3 | Date: Sat, 27 Jan 2018 20:03:37 +0000 |
| 4 | Subject: [PATCH] Fix build with glibc 2.27 |
| 5 | |
| 6 | BUG=806340 |
| 7 | TBR=hamelphi@chromium.org |
| 8 | |
| 9 | Change-Id: Ib4e5091212d874d9ad88f3e9a1fdfee3ed7e0d5e |
| 10 | Reviewed-on: https://chromium-review.googlesource.com/890059 |
| 11 | Reviewed-by: Thomas Anderson <thomasanderson@chromium.org> |
| 12 | Reviewed-by: Philippe Hamel <hamelphi@chromium.org> |
| 13 | Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> |
| 14 | Cr-Commit-Position: refs/heads/master@{#532249} |
| 15 | --- |
| 16 | |
| 17 | diff --git a/components/assist_ranker/ranker_example_util.cc b/components/assist_ranker/ranker_example_util.cc |
| 18 | index 54d4dbd..ceedd8f 100644 |
| 19 | --- a/components/assist_ranker/ranker_example_util.cc |
| 20 | +++ b/components/assist_ranker/ranker_example_util.cc |
| 21 | @@ -2,6 +2,8 @@ |
| 22 | // Use of this source code is governed by a BSD-style license that can be |
| 23 | // found in the LICENSE file. |
| 24 | |
| 25 | +#include <math.h> |
| 26 | + |
| 27 | #include "components/assist_ranker/ranker_example_util.h" |
| 28 | #include "base/bit_cast.h" |
| 29 | #include "base/format_macros.h" |