summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-simhash-include-84.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-simhash-include-84.patch
downloadppo-846cdbdbf965fc50478bcc4c6436e3dc6a489f3f.tar.xz
Initial commit.
Diffstat (limited to 'www-client/chromium/files/chromium-simhash-include-84.patch')
-rw-r--r--www-client/chromium/files/chromium-simhash-include-84.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-simhash-include-84.patch b/www-client/chromium/files/chromium-simhash-include-84.patch
new file mode 100644
index 0000000..eb77921
--- /dev/null
+++ b/www-client/chromium/files/chromium-simhash-include-84.patch
@@ -0,0 +1,26 @@
+diff --git a/components/federated_learning/sim_hash.cc b/components/federated_learning/sim_hash.cc
+index 3624459f3..9287dbe72 100644
+--- a/components/federated_learning/sim_hash.cc
++++ b/components/federated_learning/sim_hash.cc
+@@ -6,6 +6,7 @@
+
+ #include "base/hash/legacy_hash.h"
+
++#include <cmath>
+ #include <algorithm>
+
+ namespace federated_learning {
+diff --git a/components/federated_learning/sim_hash.h b/components/federated_learning/sim_hash.h
+index 55030d9d2..26087e74e 100644
+--- a/components/federated_learning/sim_hash.h
++++ b/components/federated_learning/sim_hash.h
+@@ -5,7 +5,9 @@
+ #ifndef COMPONENTS_FEDERATED_LEARNING_SIM_HASH_H_
+ #define COMPONENTS_FEDERATED_LEARNING_SIM_HASH_H_
+
++#include <stdint.h>
+ #include <set>
++#include <string>
+ #include <unordered_set>
+
+ namespace federated_learning {