From 3974b578e80c12f8175f42d4a6a55ed7691aefa7 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 6 Feb 2004 07:07:16 +0000 Subject: 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 --- libc/sysdeps/linux/arm/bits/kernel_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/sysdeps/linux/arm/bits') diff --git a/libc/sysdeps/linux/arm/bits/kernel_types.h b/libc/sysdeps/linux/arm/bits/kernel_types.h index ea8a3efad..d7a1b1530 100644 --- a/libc/sysdeps/linux/arm/bits/kernel_types.h +++ b/libc/sysdeps/linux/arm/bits/kernel_types.h @@ -31,6 +31,7 @@ typedef unsigned int __kernel_gid32_t; typedef unsigned short __kernel_old_uid_t; typedef unsigned short __kernel_old_gid_t; typedef long long __kernel_loff_t; +typedef __kernel_dev_t __kernel_old_dev_t; typedef struct { #ifdef __USE_ALL -- cgit v1.2.3