From a8d82fe52e4a114dcb152ebb2fe0382e10b32267 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 20 Dec 2003 07:26:10 +0000 Subject: [PATCH] Try to accomodate systems that do not define PAGE_SHIFT --- libbb/procps.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.25.1