aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-12-20 07:26:10 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-12-20 07:26:10 +0000
commitbdd8d37d4d5e6a7fc07c134ac0074b81b133690d (patch)
tree1063714edae30f6f80a8ba1cc5258aa573a3e811 /libbb
parent1e14b6f07443aee623729cd449bede35b8117d25 (diff)
downloadbusybox-w32-bdd8d37d4d5e6a7fc07c134ac0074b81b133690d.tar.gz
busybox-w32-bdd8d37d4d5e6a7fc07c134ac0074b81b133690d.tar.bz2
busybox-w32-bdd8d37d4d5e6a7fc07c134ac0074b81b133690d.zip
Try to accomodate systems that do not define PAGE_SHIFT
git-svn-id: svn://busybox.net/trunk/busybox@8147 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/procps.c4
1 files changed, 4 insertions, 0 deletions
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 @@
16 16
17#include "libbb.h" 17#include "libbb.h"
18 18
19#ifndef
20#define PAGE_MASK (~((getpagesize())-1))
21#endif
22
19extern procps_status_t * procps_scan(int save_user_arg0 23extern procps_status_t * procps_scan(int save_user_arg0
20#ifdef CONFIG_SELINUX 24#ifdef CONFIG_SELINUX
21 , int use_selinux , security_id_t *sid 25 , int use_selinux , security_id_t *sid