From 6aed7ed0c2a9814bd19ede5bf1ec2d517ccb42e3 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 22 Jan 2017 15:48:21 +0000 Subject: [PATCH] gcov.c (INCLUDE_ALGORITHM): Define. * gcov.c (INCLUDE_ALGORITHM): Define. (INCLUDE_VECTOR): Define. No longer include and directly. From-SVN: r244758 --- gcc/ChangeLog | 6 ++++++ gcc/gcov.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5556ec9e333..f1e77e3a2e9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-01-22 Dimitry Andric + + * gcov.c (INCLUDE_ALGORITHM): Define. + (INCLUDE_VECTOR): Define. + No longer include and directly. + 2017-01-21 Gerald Pfeifer * doc/extend.texi (Thread-Local): Change www.akkadia.org reference diff --git a/gcc/gcov.c b/gcc/gcov.c index 5fda144b027..f1067b4986c 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -31,6 +31,8 @@ along with Gcov; see the file COPYING3. If not see probabilities of fall through arcs. */ #include "config.h" +#define INCLUDE_ALGORITHM +#define INCLUDE_VECTOR #include "system.h" #include "coretypes.h" #include "tm.h" @@ -41,8 +43,6 @@ along with Gcov; see the file COPYING3. If not see #include -#include -#include #include "md5.h" using namespace std; -- 2.30.2