--- include/platform_defs.h.in +++ include/platform_defs.h.in @@ -37,8 +37,13 @@ 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 typedef __u16 __be16; typedef __u32 __be32;