diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-12-20 10:26:10 +0300 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-12-20 10:26:10 +0300 |
commit | a8d82fe52e4a114dcb152ebb2fe0382e10b32267 (patch) | |
tree | 1063714edae30f6f80a8ba1cc5258aa573a3e811 /libbb | |
parent | b868f55c788a39b0ed37d46cccd7a3867795dd9b (diff) |
Try to accomodate systems that do not define PAGE_SHIFT
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 @@ #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 |