|
|
#include <unistd.h> | #include <unistd.h> |
#include <sys/types.h> | #include <sys/types.h> |
| |
|
/* we cannot define the following values on ppc64, because they get |
|
* redefined in asm/types.h |
|
* -- see http://oss.sgi.com/bugzilla/show_bug.cgi?id=707 */ |
|
#if !defined(__powerpc64__) || !defined(__linux__) |
|
|
typedef unsigned char __u8; | typedef unsigned char __u8; |
typedef signed char __s8; | typedef signed char __s8; |
typedef unsigned short __u16; | typedef unsigned short __u16; |
|
|
typedef __u32 __be32; | typedef __u32 __be32; |
typedef __u64 __be64; | typedef __u64 __be64; |
| |
|
#elif defined(__powerpc64__) && defined(__linux__) |
|
#include <linux/types.h> |
|
#endif |
|
|
#if defined(__linux__) | #if defined(__linux__) |
#include <xfs/linux.h> | #include <xfs/linux.h> |
#elif defined(__FreeBSD__) | #elif defined(__FreeBSD__) |