--- ./include/drm/drm_mode.h.orig 2010-01-21 12:45:40.000000000 -0600 +++ ./include/drm/drm_mode.h 2010-02-22 13:16:36.000000000 -0600 @@ -307,6 +307,8 @@ #define DRM_MODE_PAGE_FLIP_EVENT 0x01 #define DRM_MODE_PAGE_FLIP_FLAGS DRM_MODE_PAGE_FLIP_EVENT +#include /* needed for uint32_t and uint64_t typedefs */ + struct drm_mode_crtc_page_flip { uint32_t crtc_id; uint32_t fb_id;