X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=ndk%2Fandroid-ndk-r4%2Flinux%2Fplatforms%2Fandroid-8%2Farch-x86%2Fusr%2Finclude%2Flinux%2Ftypes.h;fp=ndk%2Fandroid-ndk-r4%2Flinux%2Fplatforms%2Fandroid-8%2Farch-x86%2Fusr%2Finclude%2Flinux%2Ftypes.h;h=b118db0f392272146a8b88ad169aeb7729139a14;hb=72eddb87bfc38a2f6fae40566ec6380eb838489a;hp=0000000000000000000000000000000000000000;hpb=e19e12d257815bef7bfe4f3d81056a5b2464c464;p=android-x86%2Fprebuilt.git diff --git a/ndk/android-ndk-r4/linux/platforms/android-8/arch-x86/usr/include/linux/types.h b/ndk/android-ndk-r4/linux/platforms/android-8/arch-x86/usr/include/linux/types.h new file mode 100644 index 0000000..b118db0 --- /dev/null +++ b/ndk/android-ndk-r4/linux/platforms/android-8/arch-x86/usr/include/linux/types.h @@ -0,0 +1,37 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _LINUX_TYPES_H +#define _LINUX_TYPES_H + +#include +#include + +#define __bitwise__ +#define __bitwise + +typedef __u16 __bitwise __le16; +typedef __u16 __bitwise __be16; +typedef __u32 __bitwise __le32; +typedef __u32 __bitwise __be32; +#if defined(__GNUC__) && !defined(__STRICT_ANSI__) +typedef __u64 __bitwise __le64; +typedef __u64 __bitwise __be64; +#endif + +struct ustat { + __kernel_daddr_t f_tfree; + __kernel_ino_t f_tinode; + char f_fname[6]; + char f_fpack[6]; +}; + +#endif