[uClibc] dev_t change for uClibc with linux 2.6.0-test7

dododge at smart.net dododge at smart.net
Tue Oct 14 00:56:56 UTC 2003


I built the 20031013 snapshot against linux-2.6.0-test7 (i386). When
compiling busybox against it, it choked on the use of__kernel_old_dev_t
in loop.h. I suspect this is due to the dev_t changes that have been
going on in the kernel. Here's a fix (I think) based on asm/posix_types.h
from 2.6.0-test7:

--- uClibc-20031013/include/bits/kernel_types.h	Mon Aug 26 21:20:12 2002
+++ uClibc-devel/include/bits/kernel_types.h	Mon Oct 13 20:43:54 2003
@@ -30,6 +30,7 @@
 typedef unsigned int	__kernel_gid32_t;
 typedef unsigned short	__kernel_old_uid_t;
 typedef unsigned short	__kernel_old_gid_t;
+typedef unsigned short	__kernel_old_dev_t;
 typedef long long	__kernel_loff_t;
 
 typedef struct {



More information about the uClibc mailing list