[PATCH 2/2] Added support for compiling against Android bionic

Rich Felker dalias at aerifal.cx
Wed Jun 1 19:06:08 UTC 2011


On Wed, Jun 01, 2011 at 01:54:14PM +0200, Tito wrote:
> > It does look like Walter Harms' suggestion of using sysconf() is the most
> > portable way of getting this value. The attached patch makes that change.
> 
> Why don't you just include #include <asm/page.h>

asm/* is absolutely not portable and should never be included from
userspace, unless a system header includes it indirectly.

Rich


More information about the busybox mailing list