crosstool-ng/packages/binutils/2.42/0004-Darwin-gold-binary-cc-include-string-not-cstring.patch

21 lines
486 B
Diff
Raw Normal View History

From bfe2ccf8b3bc264068d03d333f2d4222ebb62f1a 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"