[PATCH] sh: fix build after changes made on rev 18095

Carmelo AMOROSO carmelo.amoroso at st.com
Mon Mar 19 09:58:04 UTC 2007


Hi,
the change made on libc/sysdeps/linux/sh/user.h brakes build on sh4,
due to redefinition of 'user_fpu_struct' and 'user' structs caused
by the following include chain:

sys/procfs.h -> asm/elf.h -> asm/user.h
sys/procfs.h -> asm/user.h

Simply removing the asm/user.h include from procfs.h it compiles again.
The attached patch solves it and add some other minor changes grabbed 
from glibc.

Best regards,
Carmelo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: procfs_asm_user.patch
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20070319/ab625a02/attachment-0002.diff 


More information about the uClibc mailing list