mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 14:12:26 +00:00
d5694c660f
https://sourceware.org/pipermail/binutils/2023-July/128719.html Forward ported all patches from binutils 2.40, with only minor adjustment to match new upstream code in patch 0007-poison-system-directories.patch. Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
21 lines
486 B
Diff
21 lines
486 B
Diff
From 5437b55508908fc26e8757007206a69160c382a9 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] 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"
|