aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-12-20 07:26:10 +0000
committerEric Andersen <andersen@codepoet.org>2003-12-20 07:26:10 +0000
commita8d82fe52e4a114dcb152ebb2fe0382e10b32267 (patch)
tree1063714edae30f6f80a8ba1cc5258aa573a3e811
parentb868f55c788a39b0ed37d46cccd7a3867795dd9b (diff)
downloadbusybox-w32-a8d82fe52e4a114dcb152ebb2fe0382e10b32267.tar.gz
busybox-w32-a8d82fe52e4a114dcb152ebb2fe0382e10b32267.tar.bz2
busybox-w32-a8d82fe52e4a114dcb152ebb2fe0382e10b32267.zip
Try to accomodate systems that do not define PAGE_SHIFT
-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