File xawtv-pagemask.patch of Package xawtv
--- console/fbtools.c +++ console/fbtools.c @@ -23,6 +23,13 @@ #include <asm/page.h> +#ifndef PAGE_SIZE +#define PAGE_SIZE getpagesize() +#endif +#ifndef PAGE_MASK +#define PAGE_MASK (~(PAGE_SIZE - 1)) +#endif + #include "fbtools.h" /* -------------------------------------------------------------------- */