http://bugs.gentoo.org/159923 --- src/video/fbcon/SDL_fbvideo.c +++ src/video/fbcon/SDL_fbvideo.c @@ -29,7 +29,7 @@ #include #include #include -#include /* For definition of PAGE_SIZE */ +#include /* For definition of PAGE_SIZE */ #include #include "SDL_video.h" --- src/video/ps2gs/SDL_gsyuv.c +++ src/video/ps2gs/SDL_gsyuv.c @@ -29,6 +29,10 @@ #include #include /* For definition of PAGE_SIZE */ +#ifndef PAGE_SIZE +# define PAGE_SIZE sysconf(_SC_PAGE_SIZE) +#endif + #include "SDL_video.h" #include "SDL_gsyuv_c.h" #include "../SDL_yuvfuncs.h"