[PATCH] Fix byteswap macros compilation with kernel-headers-2.6.28
Sandor Bodo-Merle
sbodomerle at gmail.com
Fri Feb 20 10:55:58 MST 2009
Apparently this one liner needs to be applied to have tellico HEAD compile
with kernel headers 2.6.28.
Patch taken from http://www.virtualbox.org/ticket/2936
---
src/translators/freedb_util.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/translators/freedb_util.cpp
b/src/translators/freedb_util.cpp
index 885c587..2c434f6 100644
--- a/src/translators/freedb_util.cpp
+++ b/src/translators/freedb_util.cpp
@@ -46,6 +46,7 @@ extern "C" {
#define _ANSI_WAS_HERE_
#endif
#include <linux/types.h>
+#define _LINUX_BYTEORDER_SWABB_H
#include <linux/cdrom.h>
#ifdef _ANSI_WAS_HERE_
#define __STRICT_ANSI__
--
1.6.0.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://forge.novell.com/pipermail/tellico-users/attachments/20090220/81dc6431/attachment.html
More information about the tellico-users
mailing list