[binutils-gdb] Fix a missing include of <string>

Martin Liska marxin@sourceware.org
Mon Jun 10 10:26:00 GMT 2019


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a3972330f49f81b3bea64af0970d22f42ae56ec3

commit a3972330f49f81b3bea64af0970d22f42ae56ec3
Author: Martin Liska <mliska@suse.cz>
Date:   Fri Jun 7 07:36:52 2019 +0200

    Fix a missing include of <string>
    
    gold/ChangeLog:
    
    2019-06-07  Martin Liska  <mliska@suse.cz>
    
    	* errors.h: Include string.

Diff:
---
 gold/ChangeLog | 4 ++++
 gold/errors.h  | 1 +
 2 files changed, 5 insertions(+)

diff --git a/gold/ChangeLog b/gold/ChangeLog
index 5d23e71..1c66f6e 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2019-06-10  Martin Liska  <mliska@suse.cz>
+
+	* errors.h: Include string.
+
 2019-05-10  Joshua Oreman  <oremanj@hudson-trading.com>
 
 	PR gold/21066
diff --git a/gold/errors.h b/gold/errors.h
index c26b558..ac681e9 100644
--- a/gold/errors.h
+++ b/gold/errors.h
@@ -24,6 +24,7 @@
 #define GOLD_ERRORS_H
 
 #include <cstdarg>
+#include <string>
 
 #include "gold-threads.h"



More information about the Binutils-cvs mailing list