On Fri, 4 May 2012 14:39:22 +0200, Markus Trippelsdorf wrote:
> On a system running glibc trunk busybox doesn't compile:
> 
> loginutils/passwd.c: In function ‘passwd_main’:
> loginutils/passwd.c:104:16: error: storage size of ‘rlimit_fsize’ isn’t known
> loginutils/passwd.c:188:2: warning: implicit declaration of function 
> ‘setrlimit’ [-Wimplicit-function-declaration]
> loginutils/passwd.c:188:12: error: ‘RLIMIT_FSIZE’ undeclared (first use in 
> this function)
> loginutils/passwd.c:188:12: note: each undeclared identifier is reported only 
> once for each function it appears in
> loginutils/passwd.c:104:16: warning: unused variable ‘rlimit_fsize’ 
> [-Wunused-variable]
> ...
> miscutils/time.c:23:16: error: field ‘ru’ has incomplete type
> 
> Fix this by including sys/resource.h.
> 
> Signed-off-by: Markus Trippelsdorf <[email protected]>

Acked-by: Thomas Petazzoni <[email protected]>

This problem still exists in Busybox 1.20.2.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to