aboutsummaryrefslogtreecommitdiff
path: root/packages/binutils/2.43.1/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch
blob: 666359878b84a46e32d1bfc3ba1b338768e892f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From 3ca444220a6ef0f39dc975202b351dc8e7bc988c Mon Sep 17 00:00:00 2001
From: Chris Packham <judge.packham@gmail.com>
Date: Mon, 8 Aug 2022 20:37:47 +1200
Subject: [PATCH 4/8] Darwin gold binary cc include string not cstring

---
 gold/binary.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/gold/binary.cc
+++ b/gold/binary.cc
@@ -23,7 +23,7 @@
 #include "gold.h"
 
 #include <cerrno>
-#include <cstring>
+#include <string>
 
 #include "elfcpp.h"
 #include "stringpool.h"