summaryrefslogtreecommitdiff
path: root/0001-Fix-error-call-to-function-memmove-that-is-neither-v.patch
blob: bb9f99aaea82d68670c06810c2196927f26cc377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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