]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcov-dump: properly use INCLUDE_VECTOR
authorAndrew Pinski <apinski@marvell.com>
Thu, 18 Aug 2022 12:36:28 +0000 (14:36 +0200)
committerMartin Liska <mliska@suse.cz>
Thu, 18 Aug 2022 12:37:15 +0000 (14:37 +0200)
PR gcov-profile/106659

gcc/ChangeLog:

* gcov-dump.cc (INCLUDE_VECTOR): Include vector.h with
  INCLUDE_VECTOR.

gcc/gcov-dump.cc

index 85b1be8859e2b285785fd6197d0eaaab8c4f38d0..03023bfb22672421e5e6f305ff02c1df5d7f98ab 100644 (file)
@@ -17,6 +17,7 @@ along with Gcov; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
 #include "config.h"
+#define INCLUDE_VECTOR
 #include "system.h"
 #include "coretypes.h"
 #include "tm.h"
@@ -28,8 +29,6 @@ along with Gcov; see the file COPYING3.  If not see
 #include "gcov-io.h"
 #include "gcov-io.cc"
 
-#include <vector>
-
 using namespace std;
 
 static void dump_gcov_file (const char *);