summaryrefslogtreecommitdiff
path: root/include/linux/types.h.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1997-04-29 14:53:37 +0000
committerTheodore Ts'o <tytso@mit.edu>1997-04-29 14:53:37 +0000
commit1e3472c5f37ca3686dd69b079d4d02a302f5798d (patch)
treef8c01b8e3875f425d9de9b3ef6171f739d1273e8 /include/linux/types.h.in
parentfc6d9d519aef67735918bf02c0fa8c9222008f76 (diff)
downloade2fsprogs-1e3472c5f37ca3686dd69b079d4d02a302f5798d.tar.gz
Many files:
Checked in e2fsprogs 1.05
Diffstat (limited to 'include/linux/types.h.in')
-rw-r--r--include/linux/types.h.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/types.h.in b/include/linux/types.h.in
index 4353b5e6..cd0feab8 100644
--- a/include/linux/types.h.in
+++ b/include/linux/types.h.in
@@ -4,6 +4,17 @@
typedef unsigned char __u8;
typedef signed char __s8;
+#if (@SIZEOF_INT@ == 8)
+typedef int __s64;
+typedef unsigned int __u64;
+#elif (@SIZEOF_LONG@ == 8)
+typedef long __s64;
+typedef unsigned long __u64;
+#elif (@SIZEOF_LONG_LONG@ == 8)
+typedef long __s64;
+typedef unsigned long __u64;
+#endif
+
#if (@SIZEOF_INT@ == 2)
typedef int __s16;
typedef unsigned int __u16;
@@ -27,4 +38,8 @@ typedef unsigned short __u32;
?== error: undefined 32 bit type
#endif
+#ifndef HAVE_INO_T
+typedef __u32 ino_t;
+#endif
+
#endif /* LINUX_TYPES_H */