diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-02-06 07:07:16 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-02-06 07:07:16 +0000 |
commit | 3974b578e80c12f8175f42d4a6a55ed7691aefa7 (patch) | |
tree | 26fb114f7e5209f2702ba06250b7511323fa68ae /libc/sysdeps/linux/sparc/bits | |
parent | 9d694a44b5f4eed4ed8e192f203c1cc4abc7554d (diff) |
Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it as
'__kernel_old_dev_t'. And of course there is no good way to know
which is in use except checking linux/version.h. Grumble.
This is rather lame, but for now, define __kernel_old_dev_t to be
the same as __kernel_dev_t. This will want to be revisited soon.
-Erik
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits')
-rw-r--r-- | libc/sysdeps/linux/sparc/bits/kernel_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/kernel_types.h b/libc/sysdeps/linux/sparc/bits/kernel_types.h index 91546e86d..3db603fc7 100644 --- a/libc/sysdeps/linux/sparc/bits/kernel_types.h +++ b/libc/sysdeps/linux/sparc/bits/kernel_types.h @@ -30,6 +30,7 @@ typedef unsigned short __kernel_uid16_t; typedef unsigned short __kernel_gid16_t; typedef __kernel_uid_t __kernel_old_uid_t; typedef __kernel_gid_t __kernel_old_gid_t; +typedef __kernel_dev_t __kernel_old_dev_t; typedef __kernel_uid_t __kernel_uid32_t; typedef __kernel_gid_t __kernel_gid32_t; typedef int __kernel_suseconds_t; @@ -59,6 +60,7 @@ typedef unsigned int __kernel_uid32_t; typedef unsigned int __kernel_gid32_t; typedef unsigned short __kernel_old_uid_t; typedef unsigned short __kernel_old_gid_t; +typedef __kernel_dev_t __kernel_old_dev_t; typedef long long __kernel_loff_t; #endif |