summaryrefslogtreecommitdiff
blob: ae3128876e63674913fe8279d01985375fb0bf21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naurp procps-3.2.3.orig/ps/common.h procps-3.2.3/ps/common.h
--- procps-3.2.3.orig/ps/common.h	2004-04-25 17:03:18.000000000 -0400
+++ procps-3.2.3/ps/common.h	2004-08-12 14:14:15.000000000 -0400
@@ -16,6 +16,8 @@
 #include "../proc/readproc.h"
 #include <asm/page.h>  /* looks safe for glibc, we need PAGE_SIZE */
 
+#define PAGE_SIZE sysconf(_SC_PAGESIZE)
+
 #if 0
 #define trace(args...) printf(## args)
 #else