--- include/platform_defs.h.in +++ include/platform_defs.h.in @@ -41,9 +41,14 @@ typedef unsigned short __u16; typedef signed short __s16; typedef unsigned int __u32; typedef signed int __s32; +#ifdef __powerpc64__ +typedef unsigned long int __u64; +typedef signed long int __s64; +#else typedef unsigned long long int __u64; typedef signed long long int __s64; #endif +#endif typedef __u16 __be16; typedef __u32 __be32;