From 9710a4300181927c6f4b9e34e23b1588dbb07f84 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 17 May 2007 18:29:30 +0000 Subject: Fixes for /proc location, submitted by Florent Thoumie --- Process.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Process.c') diff --git a/Process.c b/Process.c index a10c6ae0..9bbd569e 100644 --- a/Process.c +++ b/Process.c @@ -28,7 +28,9 @@ in the source distribution for its full text. // This works only with glibc 2.1+. On earlier versions // the behavior is similar to have a hardcoded page size. +#ifndef PAGE_SIZE #define PAGE_SIZE ( sysconf(_SC_PAGESIZE) / 1024 ) +#endif #define PROCESS_COMM_LEN 300 -- cgit v1.2.3