crosstool-ng/packages/binutils/2.29.1/340-Darwin-gold-binary-cc-include-string-not-cstring.patch
Bryan Hundven caf8e72233 [binutils] Add 2.29.1
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2017-10-05 07:21:06 -07:00

14 lines
262 B
Diff

diff --git a/gold/binary.cc b/gold/binary.cc
index 52df81a..03a8f20 100644
--- 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"