OSDN Git Service

Check in released NDK version r4.
[android-x86/prebuilt.git] / ndk / android-ndk-r4 / darwin / platforms / android-8 / arch-arm / usr / include / linux / types.h
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ****************************************************************************
11  ****************************************************************************/
12 #ifndef _LINUX_TYPES_H
13 #define _LINUX_TYPES_H
14
15 #include <linux/posix_types.h>
16 #include <asm/types.h>
17
18 #define __bitwise__
19 #define __bitwise
20
21 typedef __u16 __bitwise __le16;
22 typedef __u16 __bitwise __be16;
23 typedef __u32 __bitwise __le32;
24 typedef __u32 __bitwise __be32;
25 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
26 typedef __u64 __bitwise __le64;
27 typedef __u64 __bitwise __be64;
28 #endif
29
30 struct ustat {
31  __kernel_daddr_t f_tfree;
32  __kernel_ino_t f_tinode;
33  char f_fname[6];
34  char f_fpack[6];
35 };
36
37 #endif