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

14 lines
262 B
Diff
Raw Normal View History

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"