diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-12-20 07:26:10 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-12-20 07:26:10 +0000 |
commit | bdd8d37d4d5e6a7fc07c134ac0074b81b133690d (patch) | |
tree | 1063714edae30f6f80a8ba1cc5258aa573a3e811 /libbb | |
parent | 1e14b6f07443aee623729cd449bede35b8117d25 (diff) | |
download | busybox-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.c | 4 |
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 | |||
19 | extern procps_status_t * procps_scan(int save_user_arg0 | 23 | extern 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 |