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-a8d82fe52e4a114dcb152ebb2fe0382e10b32267.tar.gz
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 @@
#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