[mythtv] [PATCH] gcc 4.0 fix for mpegstreamdata.h

pmowry at cableaz.com pmowry at cableaz.com
Thu Jun 9 20:36:17 UTC 2005


All this patch does is add #include "pespacket.h" to the top of the header
file.  Without it under an up2date FC4 system with gcc 4.0 I would get a ton
of errors beginning with this one.

mpeg/mpegstreamdata.h:15: error: ‘PESPacket’ was not declared in this scope



This mail sent using CableAmerica WebMail (www.cableamerica.com)
-------------- next part --------------
Index: libs/libmythtv/mpeg/mpegstreamdata.h
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/mpeg/mpegstreamdata.h,v
retrieving revision 1.6
diff -u -r1.6 mpegstreamdata.h
--- libs/libmythtv/mpeg/mpegstreamdata.h        6 Jun 2005 06:16:10 -0000      1.6
+++ libs/libmythtv/mpeg/mpegstreamdata.h        9 Jun 2005 20:17:12 -0000
@@ -5,6 +5,7 @@

 #include <qmap.h>
 #include "tspacket.h"
+#include "pespacket.h"

 class ProgramAssociationTable;
 class ProgramMapTable;

More information about the mythtv-dev mailing list