--- xawtv-3.95/console/fbtools.h 2003-02-14 15:14:04.000000000 +0100 +++ xawtv-3.95/console/fbtools.h 2009-04-13 17:10:56.000000000 +0200 @@ -3,6 +3,9 @@ #define FB_INACTIVE 2 #define FB_ACQ_REQ 3 +#define PAGE_SIZE sysconf(_SC_PAGE_SIZE) +#define PAGE_MASK (~(PAGE_SIZE - 1)) + /* info about videomode - yes I know, quick & dirty... */ extern struct fb_fix_screeninfo fb_fix; extern struct fb_var_screeninfo fb_var;