From: Eric Andersen Date: Sat, 20 Dec 2003 07:26:10 +0000 (-0000) Subject: Try to accomodate systems that do not define PAGE_SHIFT X-Git-Tag: 1_00_pre5~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a8d82fe52e4a114dcb152ebb2fe0382e10b32267;p=oweals%2Fbusybox.git Try to accomodate systems that do not define PAGE_SHIFT --- diff --git a/libbb/procps.c b/libbb/procps.c index 44103fae8..fbb05532a 100644 --- a/libbb/procps.c +++ b/libbb/procps.c @@ -16,6 +16,10 @@ #include "libbb.h" +#ifndef +#define PAGE_MASK (~((getpagesize())-1)) +#endif + extern procps_status_t * procps_scan(int save_user_arg0 #ifdef CONFIG_SELINUX , int use_selinux , security_id_t *sid