gcov.c (INCLUDE_ALGORITHM): Define.

* gcov.c (INCLUDE_ALGORITHM): Define.
	(INCLUDE_VECTOR): Define.
	No longer include <vector> and <algorithm> directly.

From-SVN: r244758
This commit is contained in:
Dimitry Andric 2017-01-22 15:48:21 +00:00 committed by Gerald Pfeifer
parent bc4d86e626
commit 6aed7ed0c2
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2017-01-22 Dimitry Andric <dim@FreeBSD.org>
* gcov.c (INCLUDE_ALGORITHM): Define.
(INCLUDE_VECTOR): Define.
No longer include <vector> and <algorithm> directly.
2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
* doc/extend.texi (Thread-Local): Change www.akkadia.org reference

View File

@ -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 <getopt.h>
#include <vector>
#include <algorithm>
#include "md5.h"
using namespace std;