Try to accomodate systems that do not define PAGE_SHIFT
authorEric Andersen <andersen@codepoet.org>
Sat, 20 Dec 2003 07:26:10 +0000 (07:26 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 20 Dec 2003 07:26:10 +0000 (07:26 -0000)
libbb/procps.c

index 44103fae8992d9b877967e3c577914c2b07d8708..fbb05532a8c00a3d18437845d9545d32dbe5b788 100644 (file)
 
 #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