On Sun, Feb 15, 2004 at 05:02:10PM +0200, Riku Voipio wrote: > Noticed that ksysguardd includes <sys/user.h> only to > get PAGE_SIZE. > > other apps seem to use <asm/page.h> for that? Is using that > ansi safe on all platforms? Both are wrong. Use sysconf(_SC_PAGESIZE) instead.