chromium/chromium-90-TokenizedOutput-include.patch

25 lines
856 B
Diff
Raw Normal View History

2021-04-26 14:19:48 +00:00
From 30dcae908492a3ec811b5f5b9f518d792a01da38 Mon Sep 17 00:00:00 2001
From: Stephan Hartmann <stha09@googlemail.com>
Date: Sun, 28 Feb 2021 12:36:04 +0000
Subject: [PATCH] IWYU: include missing cstring for strlen
---
.../translate/core/language_detection/ngram_hash_ops_utils.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/components/translate/core/language_detection/ngram_hash_ops_utils.cc b/components/translate/core/language_detection/ngram_hash_ops_utils.cc
index cf91033..dd03a3d 100644
--- a/components/translate/core/language_detection/ngram_hash_ops_utils.cc
+++ b/components/translate/core/language_detection/ngram_hash_ops_utils.cc
@@ -4,6 +4,7 @@
#include "components/translate/core/language_detection/ngram_hash_ops_utils.h"
+#include <cstring>
#include <vector>
#include "third_party/utf/src/include/utf.h"
--
2.26.2