aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-06-07 07:36:52 +0200
committerMartin Liska <mliska@suse.cz>2019-06-10 12:26:33 +0200
commita3972330f49f81b3bea64af0970d22f42ae56ec3 (patch)
tree95ba311afbc190377cd1de1959f53ae0739b75a0 /gold
parent81873cc81effbd657efe5f525d369e430ce77d7a (diff)
downloadgdb-a3972330f49f81b3bea64af0970d22f42ae56ec3.zip
gdb-a3972330f49f81b3bea64af0970d22f42ae56ec3.tar.gz
gdb-a3972330f49f81b3bea64af0970d22f42ae56ec3.tar.bz2
Fix a missing include of <string>
gold/ChangeLog: 2019-06-07 Martin Liska <mliska@suse.cz> * errors.h: Include string.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/errors.h1
2 files changed, 5 insertions, 0 deletions
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"