[mythtv] [PATCH] DisplayResScreen.h missing <algorithm>

Daniel Kristjansson danielk at cat.nyu.edu
Fri Apr 8 17:44:16 UTC 2005


On Fri, 2005-04-08 at 16:56 +0100, Ivor Hewitt wrote:
> Fixes current CVS compilation for me:
> 
> Index: DisplayResScreen.h
> ===================================================================
> RCS file: /var/lib/mythcvs/mythtv/libs/libmyth/DisplayResScreen.h,v
> retrieving revision 1.1
> diff -u -3 -p -u -r1.1 DisplayResScreen.h
> --- DisplayResScreen.h  7 Apr 2005 15:33:49 -0000       1.1
> +++ DisplayResScreen.h  8 Apr 2005 15:55:41 -0000
> @@ -6,6 +6,7 @@ using namespace std;
>  #include <qstringlist.h>
>  #include <vector>
>  #include <map>
> +#include <algorithm>

I've added this, but can you check if you can add that include to
DisplayResScreen.cpp instead? I'm guessing it's the "find()" algorithm
that's missing.

-- Daniel



More information about the mythtv-dev mailing list