Fix building gold with gcc-10.
authorNick Clifton <nickc@redhat.com>
Tue, 24 Sep 2019 09:07:56 +0000 (10:07 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 24 Sep 2019 09:07:56 +0000 (10:07 +0100)
   * descriptors.cc: Include <string>

gold/ChangeLog
gold/descriptors.cc

index 53ee2b9baa0d832e8959f31aeae74045fb998ccb..964b7d760457fa058d6edf58224f70a2dc760fbe 100644 (file)
@@ -1,3 +1,7 @@
+2019-09-24  Nick Clifton  <nickc@redhat.com>
+
+       * descriptors.cc: Include <string>
+
 2019-09-23  Alan Modra  <amodra@gmail.com>
 
        * testsuite/plugin_new_section_layout.c (new_input_hook): Correct
index 92fd42f41f63a49ce0bd397ed3669d25bf812281..d5cc9fc4c95966ce7b652ffd1f9e3f243506db10 100644 (file)
@@ -26,6 +26,7 @@
 #include <cstdio>
 #include <cstring>
 #include <fcntl.h>
+#include <string>
 #include <unistd.h>
 
 #include "debug.h"