Patch to fix subtitles compilation with GCC4
Commit Message
This patch fixes GCC4 compilation errors in osdcontroller.h from the DVB
subtitles patch. Applies after DVBsubs.patch, obviously.
(Yep, GCC4 is not out yet, I'm testing a pre-release version. Anyway,
it reports quite a few more warnings with various plugins than earlier
versions, plugin authors might be interested in having a look... the
subtitles plugin is the only one I've found that didn't compile yet.)
@@ -6,6 +6,7 @@
#define MAX_OSD_LISTENERS 10
+class cOsdProvider;
class cOsd;
class cMutex;
@@ -32,8 +33,8 @@
void Unsubscribe( cOsdListener* listner );
private:
- friend class cOsdProvider;
- friend class cOsd;
+ friend class ::cOsdProvider;
+ friend class ::cOsd;
void Show();
void Hide();
void ShowHighest();