diff options
author | Adrien Schildknecht <adriens@google.com> | 2016-11-23 10:21:42 -0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-05-23 22:47:23 -0400 |
commit | f47f3195857867f18a781df317c833a3e97300c4 (patch) | |
tree | 891f6f03298f1e73dda46c5d2115c9c2c92f4918 /include/nonunix | |
parent | 43f927f7aa259c1deca0ec5855b1e5d23cb7f9e0 (diff) | |
download | e2fsprogs-f47f3195857867f18a781df317c833a3e97300c4.tar.gz |
AOSP: android: libext2fs and com_err for windows
Test: m libext2fs-host && m libext2_com_err-host
Change-Id: I92b6717b617a4f7f16182bf12af58cb22f20fa8f
From AOSP commit: 1538eb4c580d53657f82e4e0170ca5ad5b67455c
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/nonunix')
-rw-r--r-- | include/nonunix/linux/types.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/nonunix/linux/types.h b/include/nonunix/linux/types.h index 8e5bc90a..eb870113 100644 --- a/include/nonunix/linux/types.h +++ b/include/nonunix/linux/types.h @@ -1,10 +1,11 @@ #ifndef _LINUX_TYPES_H #define _LINUX_TYPES_H -#ifndef _MSC_VER -#error _MSC_VER not defined -#endif +//#ifndef _MSC_VER +//#error _MSC_VER not defined +//#endif +#include <sys/types.h> typedef unsigned __int8 __u8; typedef signed __int8 __s8; @@ -22,7 +23,11 @@ typedef signed __int64 __s64; typedef unsigned __int64 __u64; -typedef __u32 ino_t; +//typedef __u32 ino_t; +typedef __u32 dev_t; +typedef __u32 uid_t; +typedef __u32 gid_t; +#include <stdint.h> #endif /* LINUX_TYPES_H */ |