[mythtv] [PATCH] security update for realtime priority

Nigel Pearson nigel at ind.tansu.com.au
Wed Nov 3 02:56:30 UTC 2004


> RCS file: /var/lib/mythcvs/mythtv/programs/mythtv/main.cpp,v
> retrieving revision 1.37
> diff -u -r1.37 main.cpp
> --- programs/mythtv/main.cpp	10 Oct 2004 22:56:57 -0000	1.37
> +++ programs/mythtv/main.cpp	2 Nov 2004 23:49:58 -0000
> @@ -2,6 +2,9 @@
>  #include <qsqldatabase.h>
>  #include <qstring.h>
>  #include <unistd.h>
> +#ifndef Q_WS_MACX
> +#include <sys/capability.h>
> +#endif

	Solaris also doesn't have this, and I don't think *BSD do either.
Might be better to make that #ifdef linux
(or maybe a #ifdef USE_PRIV which is set in settings.pro)

--
Nigel Pearson, nigel at ind.tansu.com.au | "Now the world has gone to bed,
Telstra BI&D, Sydney, Australia       |  Darkness won't engulf my head,
Office: 8255 4222    Fax:  8255 3153  |  I can see by infrared,
Mobile: 0408 664435  Home: 9792 6998  |  How I hate the night." -Marvin



More information about the mythtv-dev mailing list