summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-90-langdetect-include.patch
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2021-10-14 19:01:18 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2021-10-14 19:01:18 -0400
commit846cdbdbf965fc50478bcc4c6436e3dc6a489f3f (patch)
tree4a39385c982291a110f513871aba340f0a7a061e /www-client/chromium/files/chromium-90-langdetect-include.patch
downloadppo-846cdbdbf965fc50478bcc4c6436e3dc6a489f3f.tar.xz
Initial commit.
Diffstat (limited to 'www-client/chromium/files/chromium-90-langdetect-include.patch')
-rw-r--r--www-client/chromium/files/chromium-90-langdetect-include.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-90-langdetect-include.patch b/www-client/chromium/files/chromium-90-langdetect-include.patch
new file mode 100644
index 0000000..39cd0a8
--- /dev/null
+++ b/www-client/chromium/files/chromium-90-langdetect-include.patch
@@ -0,0 +1,12 @@
+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 cf9103358..dd03a3db4 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"