diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-07-27 10:10:41 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-07-27 10:10:41 +0000 |
commit | 51bbebac48030fcc624e090fee24b368b8197f08 (patch) | |
tree | 881634655193681c3867312688c2a300587a56e7 | |
parent | 1c822162c25c02121b89f0b226e38c6b1e7d207b (diff) | |
download | lcd4linux-51bbebac48030fcc624e090fee24b368b8197f08.tar.gz |
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
-rw-r--r-- | udelay.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -56,8 +56,11 @@ #include <sys/time.h> #ifdef HAVE_ASM_MSR_H -#define u32 unsigned int +typedef u_int32_t u32; +typedef u_int64_t u64; +#define __KERNEL__ #include <asm/msr.h> +#undef __KERNEL__ #endif |