Commit 75cd8a33 authored by Andrew Maclean's avatar Andrew Maclean Committed by Dave DeMarle

Visual Studio 2013 requires the <algorithm> header.

This is required for std::max() and std::min().

I think (but don't quote me on this) that the older MSVC
compilers used to automatically include a MSVC specific
header called xutility where these were defined.
With respect to other comilers e.g. gcc, it is possible
that one of the other includes is adding the algorithm header in.

Change-Id: Ib4aba45f001edacea645eaf2bffaeb17e592cecf
Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
parent 70bad0eb
......@@ -24,6 +24,7 @@
#include <ctime>
#include <cstdio>
#include <algorithm>
//----------------------------------------------------------------------------
int BenchmarkFreeTypeRendering(int , char *[])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment