Opened 14 years ago

Closed 14 years ago

#1475 closed patch (invalid)

mythcdrom-linux.cpp compiles not with FC3

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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"

Change History (1)

comment:1 Changed 14 years ago by Anduin Withers <awithers@…>

Resolution: invalid
Status: newclosed

You are using the wrong cdrom.h, use your glibc-matching kernel headers.

Note: See TracTickets for help on using tickets.