#DPATCHLEVEL=0 Index: lib/direct/system.c =================================================================== --- lib/direct/system.c.orig 2006-10-11 02:22:59.000000000 +0300 +++ lib/direct/system.c 2006-10-11 02:29:29.000000000 +0300 @@ -33,13 +33,6 @@ #include #include -#if HAVE_ASM_PAGE_H -#include -#else -#define PAGE_SIZE sysconf( _SC_PAGESIZE ) -#endif - - #if DIRECT_BUILD_GETTID && defined(HAVE_LINUX_UNISTD_H) #include #endif @@ -61,6 +54,6 @@ direct_gettid() long direct_pagesize() { - return PAGE_SIZE; + return sysconf( _SC_PAGESIZE ); }