[PATCH] Fix byteswap macros compilation with kernel-headers-2.6.28

Regis Boudin regis at boudin.name
Fri Feb 20 11:24:05 MST 2009


Are you sure ? I've been building with linux 2.6.28 headers for a while,
and not had any problem.

Will try to do some checks tonight, anyway.

On Fri, February 20, 2009 17:55, Sandor Bodo-Merle wrote:
> 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
> _______________________________________________
> tellico-users mailing list
> tellico-users at forge.novell.com
> http://forge.novell.com/mailman/listinfo/tellico-users



More information about the tellico-users mailing list