small patch to fix android ndk build of busybox

Hin-Tak Leung htl10 at users.sourceforge.net
Mon Jan 9 01:39:33 UTC 2012



--- On Sun, 8/1/12, Denys Vlasenko <vda.linux at googlemail.com> wrote:

<snipped>
> > The android system header prototypes it as 
> > 
> > "void endpwent(void);"
> > 
> > That seems to suggest that endpwent() exists in
> bionic. The same header has
> > "setpwent(void);" defined out and removed with a
> comment "#if 0 /* MISSING FROM BIONIC */".
> > 
> > So either it is a bug with android's header, or it
> needs to be a proper no-op function?
> 
> No-op func would probably work, another solution is to move
> defines
> after includes of pwd.h and grp.h. I did this. Please test
> current git.

Better. It works now with 1_12_0-3345-gd45efd3

Cheers,
Hin-Tak


More information about the busybox mailing list