From: michael Date: Fri, 27 Jul 2007 10:10:41 +0000 (+0000) Subject: Fix compilation with kernel 2.6.22 by Guillaume LECERF X-Git-Tag: svn1203~362 X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=51bbebac48030fcc624e090fee24b368b8197f08;p=lcd4linux.git Fix compilation with kernel 2.6.22 by Guillaume LECERF git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@833 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- diff --git a/udelay.c b/udelay.c index ac92987..f45ef26 100644 --- a/udelay.c +++ b/udelay.c @@ -56,8 +56,11 @@ #include #ifdef HAVE_ASM_MSR_H -#define u32 unsigned int +typedef u_int32_t u32; +typedef u_int64_t u64; +#define __KERNEL__ #include +#undef __KERNEL__ #endif