[mythtv] [mythtv-commits] Ticket #1475: mythcdrom-linux.cpp compiles notwith FC3
Anduin Withers
awithers at anduin.com
Wed Mar 8 18:55:57 UTC 2006
You are probably using the wrong kernel headers.
--
Anduin Withers
> -----Original Message-----
> From: mythtv-commits-bounces at mythtv.org [mailto:mythtv-commits-
> bounces at mythtv.org] On Behalf Of MythTV
> Sent: Wednesday, March 08, 2006 10:32 AM
> To: mythtv-commits at mythtv.org
> Subject: [mythtv-commits] Ticket #1475: mythcdrom-linux.cpp compiles
> notwith FC3
>
> #1475: mythcdrom-linux.cpp compiles not with FC3
> -----------------------+--------------------------------------------------
> --
> Reporter: anonymous | Owner: ijr
> Type: patch | Status: new
> Priority: minor | Milestone:
> Component: mythtv | Version:
> Severity: medium |
> -----------------------+--------------------------------------------------
> --
> {{{
> Index: libs/libmyth/mythcdrom-linux.cpp
> ===================================================================
> --- libs/libmyth/mythcdrom-linux.cpp (Revision 9298)
> +++ libs/libmyth/mythcdrom-linux.cpp (Arbeitskopie)
> @@ -1,5 +1,13 @@
> #include "mythcdrom.h"
> #include <sys/ioctl.h> // ioctls
> +#include <linux/version.h>
> +#include <asm/types.h>
> +#define __le64 __u64
> +#define __le32 __u32
> +#define __le16 __u16
> +#define __be64 __u64
> +#define __be32 __u32
> +#define __be16 __u16
> #include <linux/cdrom.h> // old ioctls for cdrom
> #include <errno.h>
> #include "mythcontext.h"
>
> }}}
>
> --
> Ticket URL: <http://cvs.mythtv.org/trac/ticket/1475>
> MythTV <http://www.mythtv.org/>
> MythTV
> _______________________________________________
> mythtv-commits mailing list
> mythtv-commits at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
More information about the mythtv-dev
mailing list