[klibc] ARM/Thumb updates and some other minor tweaks

Greg KH greg at kroah.com
Sun Feb 22 17:25:24 PST 2004


On Sun, Feb 22, 2004 at 11:19:42AM -0800, Andre wrote:
> diff -ruN klibc-0.114_orig/klibc/include/sys/types.h klibc-0.114/klibc/include/sys/types.h
> --- klibc-0.114_orig/klibc/include/sys/types.h	2004-02-08 22:19:37.000000000 -0800
> +++ klibc-0.114/klibc/include/sys/types.h	2004-02-22 04:39:00.000000000 -0800
> @@ -27,7 +27,12 @@
>  typedef __kernel_daddr_t	daddr_t;
>  typedef __kernel_key_t		key_t;
>  typedef __kernel_suseconds_t	suseconds_t;
> -typedef __kernel_timer_t	timer_t;
> +/*
> + * __kernel_timer_t is not defined in arm kernel 2.4.21-rmk2 which causes
> + * arm klibc builds to fail. timer_t doesn't seem to be used within klibc
> + * so commenting out the typedef seems like a valid fix ?
> + */
> +//typedef __kernel_timer_t	timer_t;

What about userspace programs, using klibc that need access to timer_t?

struct timespec needs this, right?

thanks,

greg k-h



More information about the klibc mailing list