summaryrefslogtreecommitdiff
path: root/0001-Fix-error-call-to-function-memmove-that-is-neither-v.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-Fix-error-call-to-function-memmove-that-is-neither-v.patch')
-rw-r--r--0001-Fix-error-call-to-function-memmove-that-is-neither-v.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/0001-Fix-error-call-to-function-memmove-that-is-neither-v.patch b/0001-Fix-error-call-to-function-memmove-that-is-neither-v.patch
new file mode 100644
index 0000000..bb9f99a
--- /dev/null
+++ b/0001-Fix-error-call-to-function-memmove-that-is-neither-v.patch
@@ -0,0 +1,22 @@
+From 00921a941f3b5bdde37d15d59208cdc5b25dd576 Mon Sep 17 00:00:00 2001
+From: misaka00251 <liuxin@iscas.ac.cn>
+Date: Wed, 25 Sep 2024 20:51:15 +0800
+Subject: [PATCH] Fix error: call to function 'memmove' that is neither visible
+ in the template definition nor found by argument-dependent lookup
+
+
+diff --git a/base/containers/span.h b/base/containers/span.h
+index 6fc6e8a641..2a26acc58f 100644
+--- a/base/containers/span.h
++++ b/base/containers/span.h
+@@ -18,6 +18,7 @@
+ #include <span>
+ #include <type_traits>
+ #include <utility>
++#include <cstring>
+
+ #include "base/check.h"
+ #include "base/compiler_specific.h"
+--
+2.46.1
+